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

10 lines
210 B
Nix
Raw Normal View History

2021-12-14 19:20:02 +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 ];
}