diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-01 14:46:00 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-01 14:48:16 +0200 |
commit | 641a68715f3b5d70d249deb3f9206ee86f200a6b (patch) | |
tree | e0aebb61bb35248ef8a2b1cb732100b64f2fa11d /cluster/staging/site | |
parent | 72f5c70096abb731ac081ce59fbc133b9f5dae27 (diff) | |
download | nixcfg-641a68715f3b5d70d249deb3f9206ee86f200a6b.tar.gz nixcfg-641a68715f3b5d70d249deb3f9206ee86f200a6b.zip |
Configure Consul DNS
Diffstat (limited to 'cluster/staging/site')
-rw-r--r-- | cluster/staging/site/neptune.nix | 3 | ||||
-rw-r--r-- | cluster/staging/site/pluton.nix | 10 |
2 files changed, 5 insertions, 8 deletions
diff --git a/cluster/staging/site/neptune.nix b/cluster/staging/site/neptune.nix index 034c634..3a79315 100644 --- a/cluster/staging/site/neptune.nix +++ b/cluster/staging/site/neptune.nix @@ -5,8 +5,7 @@ deuxfleurs.lan_default_gateway = "192.168.1.1"; deuxfleurs.lan_ip_prefix_length = 24; deuxfleurs.ipv6_prefix_length = 64; - - networking.nameservers = [ "192.168.1.1" ]; + deuxfleurs.nameservers = [ "192.168.1.1" ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; diff --git a/cluster/staging/site/pluton.nix b/cluster/staging/site/pluton.nix index 9f972c0..570cdd8 100644 --- a/cluster/staging/site/pluton.nix +++ b/cluster/staging/site/pluton.nix @@ -1,13 +1,11 @@ { config, pkgs, ... }: { - networking.defaultGateway = { - address = "192.168.0.1"; - interface = "enp0s25"; - }; - networking.nameservers = [ "213.186.33.99" "172.104.136.243" ]; - deuxfleurs.site_name = "pluton"; + deuxfleurs.lan_default_gateqay = "192.168.0.1"; + deuxfleurs.lan_ip_prefix_length = 24; + deuxfleurs.ipv6_prefix_length = 64; + deuxfleurs.nameservers = [ "213.186.33.99" "172.104.136.243" ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; } |