diff options
author | Alex Auvolat <alex@adnab.me> | 2023-06-12 13:41:34 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-06-12 13:41:34 +0200 |
commit | e06d6b14a318fcaa737f9c61aa8eecd24eecd2c0 (patch) | |
tree | 7bac9f9028b3324fdf559cf702b9ce2e1970f239 /cluster/prod/node | |
parent | e71ca8fe11f51f1aaae770386565cafbdc8ec512 (diff) | |
download | nixcfg-e06d6b14a318fcaa737f9c61aa8eecd24eecd2c0.tar.gz nixcfg-e06d6b14a318fcaa737f9c61aa8eecd24eecd2c0.zip |
add ananas, set it raft server instead of dahlia
Diffstat (limited to 'cluster/prod/node')
-rw-r--r-- | cluster/prod/node/ananas.nix | 15 | ||||
l--------- | cluster/prod/node/ananas.site.nix | 1 | ||||
-rw-r--r-- | cluster/prod/node/dahlia.nix | 1 |
3 files changed, 16 insertions, 1 deletions
diff --git a/cluster/prod/node/ananas.nix b/cluster/prod/node/ananas.nix new file mode 100644 index 0000000..50ee3d5 --- /dev/null +++ b/cluster/prod/node/ananas.nix @@ -0,0 +1,15 @@ +# 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; + + deuxfleurs.hostName = "ananas"; + deuxfleurs.staticIPv4.address = "192.168.1.42"; + deuxfleurs.staticIPv6.address = "2a01:e0a:e4:2dd0::42"; + deuxfleurs.isRaftServer = true; +} diff --git a/cluster/prod/node/ananas.site.nix b/cluster/prod/node/ananas.site.nix new file mode 120000 index 0000000..a549793 --- /dev/null +++ b/cluster/prod/node/ananas.site.nix @@ -0,0 +1 @@ +../site/scorpio.nix
\ No newline at end of file diff --git a/cluster/prod/node/dahlia.nix b/cluster/prod/node/dahlia.nix index ee9e7aa..121a34d 100644 --- a/cluster/prod/node/dahlia.nix +++ b/cluster/prod/node/dahlia.nix @@ -10,5 +10,4 @@ deuxfleurs.hostName = "dahlia"; deuxfleurs.staticIPv4.address = "192.168.1.11"; deuxfleurs.staticIPv6.address = "2a01:e0a:28f:5e60::11"; - deuxfleurs.isRaftServer = true; } |