flake/configs/server.nix
2024-06-20 16:49:12 +02:00

15 lines
302 B
Nix

{
services = {
tailscale.extraUpFlags = ["--advertise-exit-node"];
openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
X11Forwarding = false;
};
};
};
}