nixos-config/services/openssh.nix

8 lines
191 B
Nix

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