nixos-configuration/common/networking.nix

25 lines
439 B
Nix
Raw Normal View History

2024-10-27 12:42:26 +01:00
_:
2024-10-27 12:33:35 +01:00
{
2023-09-24 14:56:07 +02:00
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";
};
2023-09-24 14:56:07 +02:00
};
}