nixdots/system/shared/services/ssh.nix
2024-07-27 01:07:07 +02:00

12 lines
258 B
Nix

{...}: {
# TODO: This really shouldn't be a default service in system/
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
X11Forwarding = false;
};
};
}