diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-05 14:06:59 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-05 14:09:04 +0200 |
commit | c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0 (patch) | |
tree | 407c7222203b29ed4a10545de38a1eafb8d46a73 /cluster/prod/site/bespin.nix | |
parent | 16422d280959808aff1670a066788e98049f42b7 (diff) | |
download | nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.tar.gz nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.zip |
Adapt prod config to new parameters
Diffstat (limited to 'cluster/prod/site/bespin.nix')
-rw-r--r-- | cluster/prod/site/bespin.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cluster/prod/site/bespin.nix b/cluster/prod/site/bespin.nix index de39f85..3c9a668 100644 --- a/cluster/prod/site/bespin.nix +++ b/cluster/prod/site/bespin.nix @@ -1,13 +1,9 @@ { config, pkgs, ... }: { - deuxfleurs.site_name = "bespin"; - deuxfleurs.lan_default_gateway = "192.168.5.254"; - deuxfleurs.ipv6_default_gateway = "2a02:a03f:6510:5102::1"; - deuxfleurs.lan_ip_prefix_length = 24; - deuxfleurs.ipv6_prefix_length = 64; - deuxfleurs.nameservers = [ "192.168.5.254" ]; - deuxfleurs.cname_target = "bespin.site.deuxfleurs.fr."; + deuxfleurs.siteName = "bespin"; + deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254"; + deuxfleurs.cnameTarget = "bespin.site.deuxfleurs.fr."; networking.firewall.allowedTCPPorts = [ 80 443 ]; } |