From 23d855e9522cd447628f44c66bf74df45dca33fd Mon Sep 17 00:00:00 2001 From: Constantin Gierczak--Galle Date: Fri, 22 Nov 2024 21:30:37 +0100 Subject: [PATCH] fix(dns01): network config --- machines/dns01/_configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/machines/dns01/_configuration.nix b/machines/dns01/_configuration.nix index 5fe0292..897fd2b 100644 --- a/machines/dns01/_configuration.nix +++ b/machines/dns01/_configuration.nix @@ -15,6 +15,24 @@ lib.extra.mkConfig { "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrijwPlb7KQkYPLznMPVzPPT69cLzhEsJzZi9tmxzTh cst1@x270" ]; + systemd.network = { + config.routeTables = { + he = 100; + mwan = 110; + }; + networks = { + "10-ens18" = { + name = "ens18"; + + networkConfig = { + Description = "ENS uplink"; + Address = [ "129.199.146.102/24" ]; + Gateway = "129.199.146.254"; + LLDP = true; + }; + }; + }; + }; }; root = ./.;