NixOS/hosts/luna/modules/services/openssh.nix

14 lines
199 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";
};
ports = [
2200
];
};
}