summaryrefslogtreecommitdiff
path: root/modules/nixos/tailscale.nix
blob: e73aec9689e8337c963d4558a0efac1734338342 (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 = [ "tailscale0" ];
    allowedUDPPorts = [ config.services.tailscale.port ];
  };
}