From 6dc92812997e99e12ae5fcab3bda65f056a74edb Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 25 Feb 2022 17:52:17 +0100 Subject: Add remote LUKS unlocking configuration --- cluster/prod/node/celeri.nix | 10 +++------- cluster/prod/node/concombre.nix | 10 +++------- cluster/prod/node/courgette.nix | 10 +++------- 3 files changed, 9 insertions(+), 21 deletions(-) (limited to 'cluster/prod/node') diff --git a/cluster/prod/node/celeri.nix b/cluster/prod/node/celeri.nix index 09de302..02a33c9 100644 --- a/cluster/prod/node/celeri.nix +++ b/cluster/prod/node/celeri.nix @@ -10,13 +10,9 @@ networking.hostName = "celeri"; - networking.interfaces.eno1.useDHCP = false; - networking.interfaces.eno1.ipv4.addresses = [ - { - address = "192.168.1.33"; - prefixLength = 24; - } - ]; + deuxfleurs.network_interface = "eno1"; + deuxfleurs.lan_ip = "192.168.1.33"; + networking.interfaces.eno1.ipv6.addresses = [ { address = "2a01:e0a:c:a720::33"; diff --git a/cluster/prod/node/concombre.nix b/cluster/prod/node/concombre.nix index f06e387..517dcf8 100644 --- a/cluster/prod/node/concombre.nix +++ b/cluster/prod/node/concombre.nix @@ -10,13 +10,9 @@ networking.hostName = "concombre"; - networking.interfaces.eno1.useDHCP = false; - networking.interfaces.eno1.ipv4.addresses = [ - { - address = "192.168.1.31"; - prefixLength = 24; - } - ]; + deuxfleurs.network_interface = "eno1"; + deuxfleurs.lan_ip = "192.168.1.31"; + networking.interfaces.eno1.ipv6.addresses = [ { address = "2a01:e0a:c:a720::31"; diff --git a/cluster/prod/node/courgette.nix b/cluster/prod/node/courgette.nix index e540de1..d34e7a5 100644 --- a/cluster/prod/node/courgette.nix +++ b/cluster/prod/node/courgette.nix @@ -10,13 +10,9 @@ networking.hostName = "courgette"; - networking.interfaces.eno1.useDHCP = false; - networking.interfaces.eno1.ipv4.addresses = [ - { - address = "192.168.1.32"; - prefixLength = 24; - } - ]; + deuxfleurs.network_interface = "eno1"; + deuxfleurs.lan_ip = "192.168.1.32"; + networking.interfaces.eno1.ipv6.addresses = [ { address = "2a01:e0a:c:a720::32"; -- cgit v1.2.3