hackens-org-configurations/hosts/org/core-hackens/ssh-server.nix
sinavir 0ac470c493 ~
2023-01-12 18:11:50 +01:00

8 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 ];
}