nixos-servers/system/sshd.nix
2024-03-07 23:14:44 +01:00

10 lines
199 B
Nix

{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "no";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
passwordAuthentication = true;
};
}