dotfiles.nix/nixos/common/global/ssh.nix
2024-01-14 06:29:18 +08:00

14 lines
201 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
ports = [ 48654 ];
openFirewall = true;
};
}