From c0473aae3762e9f7b75eddee15c647ad981b0a32 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sun, 28 Jul 2024 19:25:52 +0200 Subject: [PATCH] Ildkule: Remove ens3, add global/floating ipv4 addr --- hosts/ildkule/configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/ildkule/configuration.nix b/hosts/ildkule/configuration.nix index 99e14bf..494e17b 100644 --- a/hosts/ildkule/configuration.nix +++ b/hosts/ildkule/configuration.nix @@ -21,9 +21,16 @@ networking.hostName = "ildkule"; # Define your hostname. systemd.network.networks."30-all" = values.defaultNetworkConfig // { - matchConfig.Name = "en*"; + matchConfig.Name = "ens4"; DHCP = "yes"; - gateway = [ ]; + addresses = [ + { + addressConfig.Address = "129.241.153.213/32"; + } + { + addressConfig.Address = "192.168.12.209/24"; + } + ]; }; # List packages installed in system profile