feat(binto): change ssh settings

This commit is contained in:
matt1432 2023-10-15 23:21:14 -04:00
parent 0ad53c3d7d
commit 090c18eb35

View file

@ -48,7 +48,13 @@
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions