hackens-org-configurations/hosts/org/core-hackens/ssh-server.nix
hackens server 6f28af8576 enable mosh
2023-02-24 14:55:31 +01:00

9 lines
241 B
Nix

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