nix/hosts/common/ssh.nix
2022-07-15 22:05:23 -04:00

7 lines
140 B
Nix

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