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

14 lines
199 B
Nix
Raw Normal View History

2023-10-27 23:02:52 -05:00
{ ... }:
2023-10-27 01:46:14 -05:00
{
services.openssh = {
enable = true;
settings = {
2023-10-27 23:02:52 -05:00
PasswordAuthentication = false;
2023-10-27 01:46:14 -05:00
PermitRootLogin = "prohibit-password";
};
ports = [
2200
];
};
}