nixdots/modules/services/ssh.nix

11 lines
194 B
Nix

{...}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
X11Forwarding = false;
};
};
}