update ssh

This commit is contained in:
Leon Vatthauer 2024-08-30 21:10:46 +02:00
parent 403f2b8963
commit 75aff2610c
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -1,4 +1,10 @@
{ {
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; 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;
} }