From f30b03cc04ec8c3a86b3e450eab6508bd39fc6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Mon, 13 Apr 2026 00:20:36 +0200 Subject: [PATCH] fix: enable dhcp in initrd if no static ip --- features/initrd-ssh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/features/initrd-ssh.nix b/features/initrd-ssh.nix index 10b65a0..a07c44e 100644 --- a/features/initrd-ssh.nix +++ b/features/initrd-ssh.nix @@ -59,6 +59,7 @@ boot.initrd.network = { enable = true; + udhcpc.enable = !cfg.ip.enable; ssh = { enable = true; port = 22;