feat: add initrd network config
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
4efb3f26fe
commit
227b4c5fd4
1 changed files with 12 additions and 0 deletions
|
|
@ -44,6 +44,18 @@
|
|||
|
||||
boot.initrd.network = {
|
||||
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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue