hackens-org-configurations/machines/org/_ssh.nix
2023-12-19 13:27:58 +01:00

11 lines
284 B
Nix

{ ... }: {
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = false;
# Open ports in the firewall. (In fact not needed)
networking.firewall.allowedTCPPorts = [ 22 ];
# Mosh <3
programs.mosh.enable = true;
}