From f6c4576b6c8b45f1389498e4c8437d659a780a17 Mon Sep 17 00:00:00 2001 From: Adrien Date: Wed, 15 Mar 2023 17:30:35 +0100 Subject: added forgotten new files for scorpio/abricot --- cluster/prod/node/abricot.nix | 19 +++++++++++++++++++ cluster/prod/node/abricot.site.nix | 1 + 2 files changed, 20 insertions(+) create mode 100644 cluster/prod/node/abricot.nix create mode 120000 cluster/prod/node/abricot.site.nix (limited to 'cluster/prod/node') diff --git a/cluster/prod/node/abricot.nix b/cluster/prod/node/abricot.nix new file mode 100644 index 0000000..b092fb2 --- /dev/null +++ b/cluster/prod/node/abricot.nix @@ -0,0 +1,19 @@ +# 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 = "abricot"; + + deuxfleurs.network_interface = "eno1"; + deuxfleurs.lan_ip = "192.168.1.41"; + deuxfleurs.ipv6 = "2a01:e0a:e4:2dd0::41"; + + deuxfleurs.cluster_ip = "10.83.4.1"; + deuxfleurs.is_raft_server = false; +} diff --git a/cluster/prod/node/abricot.site.nix b/cluster/prod/node/abricot.site.nix new file mode 120000 index 0000000..a549793 --- /dev/null +++ b/cluster/prod/node/abricot.site.nix @@ -0,0 +1 @@ +../site/scorpio.nix \ No newline at end of file -- cgit v1.2.3