nixos-configuration/common/networking.nix
Vinzenz Schroeter 96243b2f06 nix fmt
2024-11-24 13:18:43 +01:00

24 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";
};
};
}