re-add ()

This commit is contained in:
Motiejus Jakštys 2023-09-14 14:51:36 +03:00
parent fb3c39d7dc
commit 76c07129f3
2 changed files with 7 additions and 6 deletions

View File

@ -28,6 +28,7 @@ rec {
vaultwarden = 8222;
kodi = 8080;
prometheus = 9001;
tailscale = 41641;
exporters.node = 9002;
# non-configurable in caddy as of 2023-09-06

View File

@ -15,12 +15,12 @@
};
config = with config.mj.services.tailscale;
lib.mkIf enable ({
lib.mkIf enable {
services.tailscale.enable = true;
networking.firewall.checkReversePath = "loose";
networking.firewall.allowedUDPPorts = [41641];
networking.firewall.allowedUDPPorts = [myData.ports.tailscale];
#}
#// lib.mkIf silenceLogs {
# systemd.services.tailscaled.serviceConfig."StandardOutput" = "null";
});
};
}