nixdots/modules/services/ssh.nix

11 lines
194 B
Nix
Raw Normal View History

2024-03-01 13:02:06 +00:00
{...}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
X11Forwarding = false;
};
};
}