hackens-org-configurations/hosts/org/core-hackens/ssh-server.nix

9 lines
210 B
Nix
Raw Normal View History

2023-01-12 18:11:50 +01:00
{ ... }: {
2021-12-14 18:36:07 +01:00
# Enable the OpenSSH daemon.
services.openssh.enable = true;
2022-04-29 15:09:13 +02:00
services.openssh.passwordAuthentication = false;
2021-12-14 18:36:07 +01:00
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 ];
}