diff options
Diffstat (limited to 'system-profiles/nfsroot.nix')
| -rw-r--r-- | system-profiles/nfsroot.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system-profiles/nfsroot.nix b/system-profiles/nfsroot.nix index b0116d61..e3dc2d2e 100644 --- a/system-profiles/nfsroot.nix +++ b/system-profiles/nfsroot.nix | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | { config, options, pkgs, lib, flake, flakeInputs, ... }: | 1 | { config, options, pkgs, lib, flake, ... }: |
| 2 | 2 | ||
| 3 | with lib; | 3 | with lib; |
| 4 | 4 | ||
| @@ -86,7 +86,7 @@ in { | |||
| 86 | mkdir -p /mnt-root/etc/ | 86 | mkdir -p /mnt-root/etc/ |
| 87 | cp /etc/resolv.conf /mnt-root/etc/resolv.conf | 87 | cp /etc/resolv.conf /mnt-root/etc/resolv.conf |
| 88 | ''; | 88 | ''; |
| 89 | networking.useDHCP = true; | 89 | networking.useDHCP = mkImageMediaOverride true; |
| 90 | networking.resolvconf.enable = false; | 90 | networking.resolvconf.enable = false; |
| 91 | networking.dhcpcd.persistent = true; | 91 | networking.dhcpcd.persistent = true; |
| 92 | 92 | ||
