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.availableKernelModules = [ "igb" ];
|
||||||
boot.initrd.network = {
|
boot.initrd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
udhcpc.enable = true;
|
udhcpc.enable = !config.boot.initrd.systemd.enable;
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostKeys = map (f: f.path) hostKeys;
|
hostKeys = map (f: f.path) hostKeys;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue