ryzensun: fix networkmanager DNS with initrd.network.enable

https://github.com/NixOS/nixpkgs/issues/63941#issuecomment-2081126437
This commit is contained in:
teutat3s 2024-06-14 14:49:55 +02:00
parent 208853aeb9
commit e459fbb0b5
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -29,11 +29,12 @@ in {
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
# Required for WakeOnLan # Required for WakeOnLan
boot.kernelParams = [ "ip=dhcp" ];
boot.initrd = { boot.initrd = {
availableKernelModules = [ "r8169" ]; availableKernelModules = [ "r8169" ];
network = { network = {
enable = true; enable = true;
udhcpc.enable = true;
flushBeforeStage2 = true;
ssh = { ssh = {
enable = true; enable = true;
# To prevent ssh clients from freaking out because a different host key is used, # To prevent ssh clients from freaking out because a different host key is used,