fix: add e1000e kernel module to initrd

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-04 12:59:03 +01:00
parent e72b9a144a
commit 5cd943d3e5
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -41,21 +41,23 @@
systemd.network.networks."10-uplink".networkConfig.Address = config.networking.hyp-01.ipv6.address; systemd.network.networks."10-uplink".networkConfig.Address = config.networking.hyp-01.ipv6.address;
boot.kernelParams = [ "ip=dhcp" ]; boot.kernelParams = [ "ip=dhcp" ];
boot.initrd.network = { boot.initrd = {
enable = true; availableKernelModules = [ "e1000e" ];
ssh = { network = {
enable = true; enable = true;
port = 2222;
authorizedKeys = [ ssh = {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026" enable = true;
]; port = 2222;
hostKeys = [ authorizedKeys = [
"/etc/secrets/initrd/ssh_host_ed25519_key" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026"
]; ];
hostKeys = [
"/etc/secrets/initrd/ssh_host_ed25519_key"
];
};
}; };
}; };
boot.initrd.kernelModules = [ "igb" ];
}; };
} }