summary refs log tree commit diff
path: root/mixins/tailscale.nix
blob: 8be314715aabefdf9d4c199f1ac2d51590a84332 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ pkgs, config, ... }:

{
  config = {
    services.tailscale.enable = true;
    networking.firewall = {
      trustedInterfaces = [ "tailscale0" ];
      allowedUDPPorts = [41641];
    };
  };
}