nix/hosts/marvin/services/tailscale.nix

11 lines
231 B
Nix
Raw Normal View History

2022-06-29 16:51:19 +00:00
{config, ...}: {
2022-06-25 02:46:54 +00:00
services.tailscale = {
enable = true;
};
2022-06-29 16:51:19 +00:00
networking.firewall = {
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
2022-06-29 16:53:35 +00:00
checkReversePath = "loose";
2022-06-29 16:51:19 +00:00
};
2022-06-25 02:46:54 +00:00
}