aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/site
diff options
context:
space:
mode:
authormricher <maximilien.richer@gmail.com>2022-10-16 11:09:30 +0200
committermricher <maximilien.richer@gmail.com>2022-10-16 11:09:30 +0200
commit3fa5eef05d81b828b666b3aa7d31e49786233be2 (patch)
tree34cbdde40b61050898f0a3c4f01a3f4a4fa96119 /cluster/prod/site
parentc3a30aababfc81f1f63253636e7dde38a0b1c204 (diff)
downloadnixcfg-3fa5eef05d81b828b666b3aa7d31e49786233be2.tar.gz
nixcfg-3fa5eef05d81b828b666b3aa7d31e49786233be2.zip
Add bespin machines
Diffstat (limited to 'cluster/prod/site')
-rw-r--r--cluster/prod/site/bespin.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/cluster/prod/site/bespin.nix b/cluster/prod/site/bespin.nix
new file mode 100644
index 0000000..4b60d4d
--- /dev/null
+++ b/cluster/prod/site/bespin.nix
@@ -0,0 +1,12 @@
+{ 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" ];
+
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
+}