dotfiles.nix/nixos/common/global/ssh.nix

14 lines
201 B
Nix
Raw Normal View History

2024-01-14 06:29:18 +08:00
{ ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
ports = [ 48654 ];
openFirewall = true;
};
}