aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/onion.nix
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2024-05-26 21:04:01 +0000
committermaximilien <me@mricher.fr>2024-05-26 21:04:01 +0000
commit726f4b2f323c090bfe14604dac4349763689eb78 (patch)
treef9661e69a8c98c9bf1c8965199845ec7d747cbd8 /cluster/prod/node/onion.nix
parentef914612103b35d66178f9a3a5b7e1ecdd884c3b (diff)
parent37a2f781eb3e094fbf96741878dc2414958de793 (diff)
downloadnixcfg-726f4b2f323c090bfe14604dac4349763689eb78.tar.gz
nixcfg-726f4b2f323c090bfe14604dac4349763689eb78.zip
Merge pull request 'cluster(prod): Add dathomir site' (#25) from KokaKiwi/nixcfg:add-dathomir into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/25 Reviewed-by: maximilien <me@mricher.fr>
Diffstat (limited to 'cluster/prod/node/onion.nix')
-rw-r--r--cluster/prod/node/onion.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/cluster/prod/node/onion.nix b/cluster/prod/node/onion.nix
new file mode 100644
index 0000000..8b6f8d6
--- /dev/null
+++ b/cluster/prod/node/onion.nix
@@ -0,0 +1,12 @@
+{ ... }:
+{
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.timeout = 20;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ services.openssh.ports = [ 22 33601 ];
+
+ deuxfleurs.hostName = "onion";
+ deuxfleurs.staticIPv4.address = "192.168.1.34";
+ deuxfleurs.staticIPv6.address = "2a01:e0a:5e4:1d0:223:24ff:feb0:e866";
+}