fix: enable dhcp in initrd if no static ip
This commit is contained in:
@@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
boot.initrd.network = {
|
boot.initrd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
udhcpc.enable = !cfg.ip.enable;
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 22;
|
port = 22;
|
||||||
|
|||||||
Reference in New Issue
Block a user