Files
nixos-servers/system/sshd.nix
2024-03-08 20:10:50 +01:00

12 lines
232 B
Nix

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