aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/site/bespin.nix
diff options
context:
space:
mode:
authormricher <maximilien.richer@gmail.com>2022-10-16 11:09:30 +0200
committerGitea <gitea@fake.local>2022-10-16 14:17:12 +0000
commit6bafa20bf671f1625c3306a355c8d6b3ccae39d4 (patch)
tree7c38a96b9ee549e57f0e569902768aa505bdc242 /cluster/prod/site/bespin.nix
parent38a544d9c45a7c6ce682d8677e52f022d9547177 (diff)
downloadnixcfg-6bafa20bf671f1625c3306a355c8d6b3ccae39d4.tar.gz
nixcfg-6bafa20bf671f1625c3306a355c8d6b3ccae39d4.zip
Add bespin machines
Diffstat (limited to 'cluster/prod/site/bespin.nix')
-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 ];
+}