nix/hosts/marvin/services/tailscale.nix

10 lines
199 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-25 02:46:54 +00:00
}