fix(home-server): fix conflicting udhcpc option

Set `boot.initrd.network.udhcpc.enable` based on
`boot.initrd.systemd.enable`.
This commit is contained in:
Felix Schröter 2025-05-20 20:57:49 +02:00
parent 65800f4d17
commit e34e3dbff4
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -138,7 +138,7 @@ in
boot.initrd.availableKernelModules = [ "igb" ];
boot.initrd.network = {
enable = true;
udhcpc.enable = true;
udhcpc.enable = !config.boot.initrd.systemd.enable;
ssh = {
enable = true;
hostKeys = map (f: f.path) hostKeys;