summaryrefslogtreecommitdiff
path: root/modules/nixos/tailscale.nix
blob: 774a959e29912e946536250ac6ed403a58172d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, ... }: {
  services.tailscale = {
    enable = true;
    extraUpFlags = [
      "--login-server https://bosco.myrmexia.xyz"
      "--operator defin"
    ];
  };
  networking.firewall = {
    checkReversePath = "loose";
    trustedInterfaces = [ "tailscale0" ];
    allowedUDPPorts = [ config.services.tailscale.port ];
  };
}