From e459fbb0b53319d8f6224888f94459188d222671 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Fri, 14 Jun 2024 14:49:55 +0200 Subject: [PATCH] ryzensun: fix networkmanager DNS with initrd.network.enable https://github.com/NixOS/nixpkgs/issues/63941#issuecomment-2081126437 --- hosts/ryzensun/ryzensun.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/ryzensun/ryzensun.nix b/hosts/ryzensun/ryzensun.nix index 5f03d39f..d26444f3 100644 --- a/hosts/ryzensun/ryzensun.nix +++ b/hosts/ryzensun/ryzensun.nix @@ -29,11 +29,12 @@ in { boot.binfmt.emulatedSystems = ["aarch64-linux"]; # Required for WakeOnLan - boot.kernelParams = [ "ip=dhcp" ]; boot.initrd = { availableKernelModules = [ "r8169" ]; network = { enable = true; + udhcpc.enable = true; + flushBeforeStage2 = true; ssh = { enable = true; # To prevent ssh clients from freaking out because a different host key is used,