Files
nixos-dotfiles/modules/sshd/default.nix
2025-07-22 02:30:15 +02:00

16 lines
228 B
Nix

{
...
}:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
AllowUsers = null;
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
}