nixos-servers/system/sshd.nix

12 lines
232 B
Nix
Raw Permalink Normal View History

2024-03-07 22:14:44 +00:00
{ ... }: {
services.openssh = {
enable = true;
2024-03-08 19:10:50 +00:00
settings = {
PermitRootLogin = "yes";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
PasswordAuthentication = true;
};
2024-03-07 22:14:44 +00:00
};
}