diff options
Diffstat (limited to 'cluster/prod')
-rw-r--r-- | cluster/prod/cluster.nix | 6 | ||||
-rw-r--r-- | cluster/prod/node/pasteque.nix | 14 | ||||
l--------- | cluster/prod/node/pasteque.site.nix | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index ff4e4b5..7624121 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -105,6 +105,12 @@ address = "10.83.6.1"; endpoint = "45.81.62.36:33731"; }; + "pasteque" = { + siteName = "corrin"; + publicKey = "7vPq0z6JVxTLEebasUlR5Uu4dAFZxfddhjWtIYhCoXw="; + address = "10.83.6.2"; + endpoint = "45.81.62.36:33732"; + }; }; # Pin Nomad version diff --git a/cluster/prod/node/pasteque.nix b/cluster/prod/node/pasteque.nix new file mode 100644 index 0000000..98cd2e6 --- /dev/null +++ b/cluster/prod/node/pasteque.nix @@ -0,0 +1,14 @@ +# Configuration file local to this node + +{ config, pkgs, ... }: + +{ + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.timeout = 5; + boot.loader.efi.canTouchEfiVariables = true; + + deuxfleurs.hostName = "pasteque"; + deuxfleurs.staticIPv4.address = "192.168.5.202"; + deuxfleurs.staticIPv6.address = "2001:912:1ac0:2200::202"; +} diff --git a/cluster/prod/node/pasteque.site.nix b/cluster/prod/node/pasteque.site.nix new file mode 120000 index 0000000..0a97c41 --- /dev/null +++ b/cluster/prod/node/pasteque.site.nix @@ -0,0 +1 @@ +../site/corrin.nix
\ No newline at end of file |