.files/nix/nixosModules/common/network.nix

9 lines
158 B
Nix

{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
};
};
}