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