From 5cd943d3e5c01236cacc3596c1bf9f649d86cfe8 Mon Sep 17 00:00:00 2001 From: Lander Van den Bulcke Date: Tue, 4 Nov 2025 12:59:03 +0100 Subject: [PATCH] fix: add e1000e kernel module to initrd Signed-off-by: Lander Van den Bulcke --- hosts/hyp-01/modules/networking.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/hosts/hyp-01/modules/networking.nix b/hosts/hyp-01/modules/networking.nix index 37fc9d2..021df0c 100644 --- a/hosts/hyp-01/modules/networking.nix +++ b/hosts/hyp-01/modules/networking.nix @@ -41,21 +41,23 @@ systemd.network.networks."10-uplink".networkConfig.Address = config.networking.hyp-01.ipv6.address; boot.kernelParams = [ "ip=dhcp" ]; - boot.initrd.network = { - enable = true; + boot.initrd = { + availableKernelModules = [ "e1000e" ]; - ssh = { + network = { enable = true; - port = 2222; - authorizedKeys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026" - ]; - hostKeys = [ - "/etc/secrets/initrd/ssh_host_ed25519_key" - ]; + + ssh = { + enable = true; + port = 2222; + authorizedKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026" + ]; + hostKeys = [ + "/etc/secrets/initrd/ssh_host_ed25519_key" + ]; + }; }; }; - - boot.initrd.kernelModules = [ "igb" ]; }; }