hackens-org-configurations/profiles/core-hackens/ssh-server.nix
2022-04-29 15:09:13 +02:00

9 lines
210 B
Nix

{ ... }:
{
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 ];
}