global/networking: use tailscale openFirewall

This commit is contained in:
Infinidoge 2024-02-14 09:56:33 -05:00
parent 9268453422
commit c9dcc69359
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -6,7 +6,6 @@
useDHCP = true;
firewall = {
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
search = [
# Tailscale
@ -34,6 +33,7 @@
services = {
tailscale = {
enable = true;
openFirewall = true;
useRoutingFeatures = if config.info.stationary then "both" else "client";
};