nixdots/system/shared/services/ssh.nix

12 lines
258 B
Nix
Raw Permalink Normal View History

2024-07-26 23:07:07 +00:00
{...}: {
2024-03-21 20:47:25 +00:00
# TODO: This really shouldn't be a default service in system/
2024-03-01 13:02:06 +00:00
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
X11Forwarding = false;
};
};
}