re-add ()
This commit is contained in:
parent
fb3c39d7dc
commit
76c07129f3
1
data.nix
1
data.nix
@ -28,6 +28,7 @@ rec {
|
|||||||
vaultwarden = 8222;
|
vaultwarden = 8222;
|
||||||
kodi = 8080;
|
kodi = 8080;
|
||||||
prometheus = 9001;
|
prometheus = 9001;
|
||||||
|
tailscale = 41641;
|
||||||
exporters.node = 9002;
|
exporters.node = 9002;
|
||||||
|
|
||||||
# non-configurable in caddy as of 2023-09-06
|
# non-configurable in caddy as of 2023-09-06
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = with config.mj.services.tailscale;
|
config = with config.mj.services.tailscale;
|
||||||
lib.mkIf enable ({
|
lib.mkIf enable {
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
networking.firewall.checkReversePath = "loose";
|
networking.firewall.checkReversePath = "loose";
|
||||||
networking.firewall.allowedUDPPorts = [41641];
|
networking.firewall.allowedUDPPorts = [myData.ports.tailscale];
|
||||||
#}
|
#}
|
||||||
#// lib.mkIf silenceLogs {
|
#// lib.mkIf silenceLogs {
|
||||||
# systemd.services.tailscaled.serviceConfig."StandardOutput" = "null";
|
# systemd.services.tailscaled.serviceConfig."StandardOutput" = "null";
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user