nixdots/system/services/ssh.nix

13 lines
261 B
Nix
Raw Permalink 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