aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/site/neptune.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-05 14:06:59 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-05 14:09:04 +0200
commitc08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0 (patch)
tree407c7222203b29ed4a10545de38a1eafb8d46a73 /cluster/prod/site/neptune.nix
parent16422d280959808aff1670a066788e98049f42b7 (diff)
downloadnixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.tar.gz
nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.zip
Adapt prod config to new parameters
Diffstat (limited to 'cluster/prod/site/neptune.nix')
-rw-r--r--cluster/prod/site/neptune.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/cluster/prod/site/neptune.nix b/cluster/prod/site/neptune.nix
index a4aac6d..81495c6 100644
--- a/cluster/prod/site/neptune.nix
+++ b/cluster/prod/site/neptune.nix
@@ -1,14 +1,10 @@
{ config, pkgs, ... }:
{
- deuxfleurs.site_name = "neptune";
- deuxfleurs.lan_default_gateway = "192.168.1.1";
- deuxfleurs.ipv6_default_gateway = "2001:910:1204:1::1";
- deuxfleurs.lan_ip_prefix_length = 24;
- deuxfleurs.ipv6_prefix_length = 64;
- deuxfleurs.nameservers = [ "192.168.1.1" ];
- deuxfleurs.cname_target = "neptune.site.deuxfleurs.fr.";
- deuxfleurs.public_ipv4 = "77.207.15.215";
+ deuxfleurs.siteName = "neptune";
+ deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
+ deuxfleurs.cnameTarget = "neptune.site.deuxfleurs.fr.";
+ deuxfleurs.publicIPv4 = "77.207.15.215";
networking.firewall.allowedTCPPorts = [ 80 443 ];
}