This commit is contained in:
Daniel Langbein 2023-09-15 17:47:18 +02:00
parent 39f19085e5
commit 042d9fb30e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -29,9 +29,15 @@
#boot.initrd.availableKernelModules = [ "r8169" ]; # TODO: This value is valid for yodaTux only #boot.initrd.availableKernelModules = [ "r8169" ]; # TODO: This value is valid for yodaTux only
boot.initrd.availableKernelModules = [ "e1000e" ]; # TODO: This value is valid for yodaYoga only boot.initrd.availableKernelModules = [ "e1000e" ]; # TODO: This value is valid for yodaYoga only
# #
# dmesg -> enp0s20f0u1u2: renamed from eth0 # dmesg -> enp0s20f0u1u2: renamed from eth0 (yodaTux)
# dmesg -> enp0s31f6: renamed from eth0 (yodaYoga)
#boot.kernelParams = [ "ip=:::::eth0:dhcp" ]; #boot.kernelParams = [ "ip=:::::eth0:dhcp" ];
boot.kernelParams = [ "ip=dhcp" ]; boot.kernelParams = [ "ip=dhcp" ];
# Clear the configuration of the interfaces that were set up in the initrd right before stage 2 takes over.
# Stage 2 will do the regular network configuration based on the NixOS networking options.
# https://nixos.org/manual/nixos/stable/options#opt-boot.initrd.network.flushBeforeStage2
#boot.initrd.network.flushBeforeStage2 = true;
# TODO: Timeout if no Internet connection is available (to be able to enter password with a keyboard). # TODO: Timeout if no Internet connection is available (to be able to enter password with a keyboard).
} }