mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/plover: update domain names for internal services
This commit is contained in:
parent
ac8d875c35
commit
f07aa33220
@ -65,9 +65,6 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
# The private network for this host.
|
||||
preferredInternalTLD = "internal";
|
||||
|
||||
# Wireguard-related things.
|
||||
wireguardPort = 51820;
|
||||
wireguardIPHostPart = "10.210.0";
|
||||
|
@ -4,9 +4,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (import ../hardware/networks.nix) preferredInternalTLD interfaces;
|
||||
inherit (import ../hardware/networks.nix) interfaces;
|
||||
|
||||
atuinInternalDomain = "atuin.${config.networking.domain}.${preferredInternalTLD}";
|
||||
atuinInternalDomain = "atuin.${config.networking.fqdn}";
|
||||
host = interfaces.internal.IPv4.address;
|
||||
in
|
||||
{
|
||||
|
@ -2,10 +2,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (import ../hardware/networks.nix) preferredInternalTLD interfaces;
|
||||
inherit (import ../hardware/networks.nix) interfaces;
|
||||
|
||||
authDomain = "auth.${config.networking.domain}";
|
||||
authInternalDomain = "auth.${config.networking.domain}.${preferredInternalTLD}";
|
||||
authInternalDomain = "auth.${config.networking.fqdn}";
|
||||
|
||||
# This is also set on our own.
|
||||
keycloakUser = config.services.keycloak.database.username;
|
||||
|
@ -4,7 +4,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
ldapDomain = "ldap.${config.networking.domain}";
|
||||
ldapDomain = "ldap.${config.networking.fqdn}";
|
||||
in
|
||||
{
|
||||
services.portunus = {
|
||||
|
@ -5,7 +5,7 @@
|
||||
let
|
||||
acmeName = "wireguard.${config.networking.domain}";
|
||||
inherit (builtins) toString;
|
||||
inherit (import ../hardware/networks.nix) interfaces wireguardPort wireguardPeers preferredInternalTLD;
|
||||
inherit (import ../hardware/networks.nix) interfaces wireguardPort wireguardPeers;
|
||||
|
||||
wireguardIFName = "wireguard0";
|
||||
|
||||
@ -13,7 +13,7 @@ let
|
||||
phonePeerAddresses = with wireguardPeers.phone; [ "${IPv4}/24" "${IPv6}/96" ];
|
||||
|
||||
internalDomains = [
|
||||
"~${config.networking.domain}.${preferredInternalTLD}"
|
||||
"~${config.networking.fqdn}"
|
||||
];
|
||||
in
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user