nixos-config/hosts/thinkpad/openssh.nix
2023-11-06 02:01:49 -05:00

10 lines
197 B
Nix

{...}: {
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
challengeResponseAuthentication = false;
PermitRootLogin = "no";
};
};
}