Files
dotfiles/systems/common/optional/ssh_decrypt.nix
2024-09-15 11:57:36 -04:00

16 lines
338 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" ];
};
}