nixdots/system/shared/services/ssh.nix

13 lines
261 B
Nix
Raw Normal View History

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;
};
};
}
2024-03-21 20:47:25 +00:00