feat(oksys): add openssh settings

This commit is contained in:
Updater 2023-12-20 03:54:31 -05:00
parent a2bdc64a30
commit 0661fd0940

View file

@ -40,6 +40,16 @@
firewall.enable = false; firewall.enable = false;
}; };
services = {
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
};
# Set your time zone. # Set your time zone.
time.timeZone = "America/Montreal"; time.timeZone = "America/Montreal";