mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
14 lines
307 B
Nix
14 lines
307 B
Nix
{ config, ... }:
|
|
{
|
|
boot.initrd.network = {
|
|
enable = true;
|
|
ssh = {
|
|
enable = true;
|
|
port = 2222;
|
|
hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ];
|
|
authorizedKeys = config.users.users.richie.openssh.authorizedKeys.keys;
|
|
};
|
|
};
|
|
availableKernelModules = [ "igb" ];
|
|
}
|