nix/hosts/common/ssh.nix

8 lines
142 B
Nix
Raw Normal View History

2022-04-20 21:09:49 +00:00
{
services.openssh = {
enable = true;
2022-04-26 11:56:27 +00:00
permitRootLogin = "prohibit-password";
2022-04-20 21:09:49 +00:00
};
2022-06-29 16:51:19 +00:00
networking.firewall.allowedTCPPorts = [ 22 ];
2022-04-20 21:09:49 +00:00
}