nix/hosts/common/ssh.nix
2022-06-29 12:52:11 -04:00

7 lines
142 B
Nix

{
services.openssh = {
enable = true;
permitRootLogin = "prohibit-password";
};
networking.firewall.allowedTCPPorts = [ 22 ];
}