feat: add initrd network config

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-04 10:11:39 +01:00
parent 4efb3f26fe
commit 227b4c5fd4
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -44,6 +44,18 @@
boot.initrd.network = { boot.initrd.network = {
enable = true; enable = true;
arguments = with config.networking.hyp-01; [
"ip=${ipv4.address}::${ipv4.gateway}:255.255.255.192::eth0:off"
];
ssh = {
enable = true;
port = 2222;
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026"
];
};
}; };
boot.initrd.kernelModules = [ "igb" ]; boot.initrd.kernelModules = [ "igb" ];