nixos-configuration/common/networking.nix
Vinzenz Schroeter d0a6abd2d8 statix fix
2024-10-27 12:42:26 +01:00

25 lines
439 B
Nix

_:
{
config = {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "without-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
services.tailscale = {
enable = true;
openFirewall = true;
};
networking.firewall = {
enable = true;
checkReversePath = "loose";
};
};
}