nixos-servers/system/sshd.nix

12 lines
232 B
Nix

{ ... }: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
PasswordAuthentication = true;
};
};
}