aether/modules/ssh/default.nix

11 lines
198 B
Nix
Raw Normal View History

{ ... }:
{
services.openssh.enable = true;
services.openssh.settings = {
PasswordAuthentication = false;
PermitRootLogin = "yes";
};
networking.firewall.allowedTCPPorts = [ 22 ];
}