nixos/dafoe/services/ssh.nix
2024-08-30 21:10:46 +02:00

10 lines
293 B
Nix

{
# Enable the OpenSSH daemon.
services.openssh.enable = true;
users.users.leonv.openssh.authorizedKeys.keys = [
"${../../nix-secrets/dafoe/ssh/gunther}"
"${../../nix-secrets/dafoe/ssh/absol}"
];
# Enable fail2ban to make ssh more secure
services.fail2ban.enable = true;
}