nixos/dafoe/services/ssh.nix

11 lines
293 B
Nix
Raw Normal View History

2024-05-08 11:03:22 +02:00
{
# Enable the OpenSSH daemon.
services.openssh.enable = true;
2024-08-30 21:10:46 +02:00
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;
2024-05-08 16:35:56 +02:00
}