From f5659c14d8518712b057b87f9af399160b3ce529 Mon Sep 17 00:00:00 2001 From: Lander Van den Bulcke Date: Tue, 4 Nov 2025 10:39:21 +0100 Subject: [PATCH] fix: initrd network config Signed-off-by: Lander Van den Bulcke --- hosts/hyp-01/modules/networking.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/hyp-01/modules/networking.nix b/hosts/hyp-01/modules/networking.nix index 1c74e4a..f238490 100644 --- a/hosts/hyp-01/modules/networking.nix +++ b/hosts/hyp-01/modules/networking.nix @@ -40,15 +40,12 @@ systemd.network.networks."10-uplink".networkConfig.Address = config.networking.hyp-01.ipv6.address; + boot.initrd.systemd.network.enable = true; boot.initrd.systemd.network.networks."10-uplink" = config.systemd.networks."10-uplink"; boot.initrd.network = { enable = true; - arguments = with config.networking.hyp-01; [ - "ip=${ipv4.address}::${ipv4.gateway}:255.255.255.192::eth0:off" - ]; - ssh = { enable = true; port = 2222;