Set `boot.initrd.network.udhcpc.enable` based on `boot.initrd.systemd.enable`.
This commit is contained in:
parent
65800f4d17
commit
e34e3dbff4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue