ryzensun: fix networkmanager DNS with initrd.network.enable
https://github.com/NixOS/nixpkgs/issues/63941#issuecomment-2081126437
This commit is contained in:
parent
208853aeb9
commit
e459fbb0b5
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue