ssh_config

This commit is contained in:
m3tam3re
2025-02-22 11:03:03 +01:00
parent 39e1187948
commit 2ffd84eb4e
3 changed files with 91 additions and 2 deletions

View File

@ -76,7 +76,13 @@
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
settings = {
PasswordAuthentication = false;
};
};
services.fstrim.enable = true;
services.zfs.autoSnapshot.enable = true;