diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2022-12-28 16:49:43 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2022-12-28 16:49:43 +0100 |
commit | 1c48fd4ae446fd649833645ff4710faa09e9b642 (patch) | |
tree | 3dc734e56eb2e3f57f9abe62aba029f41091f895 /cluster/staging/node | |
parent | b63c03f6355aacd436058c0fd9f2bdb622b85f93 (diff) | |
download | nixcfg-1c48fd4ae446fd649833645ff4710faa09e9b642.tar.gz nixcfg-1c48fd4ae446fd649833645ff4710faa09e9b642.zip |
Add new staging zone and node
Diffstat (limited to 'cluster/staging/node')
-rw-r--r-- | cluster/staging/node/piranha.nix | 21 | ||||
l--------- | cluster/staging/node/piranha.site.nix | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/cluster/staging/node/piranha.nix b/cluster/staging/node/piranha.nix new file mode 100644 index 0000000..22f8108 --- /dev/null +++ b/cluster/staging/node/piranha.nix @@ -0,0 +1,21 @@ +# Configuration file local to this node + +{ config, pkgs, ... }: + +{ + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.timeout = 20; + boot.loader.efi.canTouchEfiVariables = true; + + networking.hostName = "piranha"; + + deuxfleurs.network_interface = "eno1"; + deuxfleurs.lan_ip = "192.168.1.25"; + deuxfleurs.ipv6 = "2a01:cb05:8984:3c00:223:24ff:feb0:ea82"; + + deuxfleurs.cluster_ip = "10.14.3.1"; + deuxfleurs.is_raft_server = false; + + system.stateVersion = "22.11"; +} diff --git a/cluster/staging/node/piranha.site.nix b/cluster/staging/node/piranha.site.nix new file mode 120000 index 0000000..0a97c41 --- /dev/null +++ b/cluster/staging/node/piranha.site.nix @@ -0,0 +1 @@ +../site/corrin.nix
\ No newline at end of file |