nixos-servers/system/sshd.nix

10 lines
199 B
Nix
Raw Normal View History

2024-03-07 22:14:44 +00:00
{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "no";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
passwordAuthentication = true;
};
}