10 lines
293 B
Nix
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;
|
|
}
|