diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-09 20:36:36 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-09 20:36:36 -0600 |
| commit | 547d6dc4731b04a240048b0b95c0ea12e0d1f6bd (patch) | |
| tree | dd3d63dfb21c62d2d71a1f8e937d3247c2e78b11 /modules/services/nixos/tailscale.nix | |
| parent | 7b9a5eb561948521ac4669074cc746a0f848ed23 (diff) | |
lots of changes, including revamp of network services boot chain on mercury
Diffstat (limited to 'modules/services/nixos/tailscale.nix')
| -rw-r--r-- | modules/services/nixos/tailscale.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/services/nixos/tailscale.nix b/modules/services/nixos/tailscale.nix index f39fc27..6af3c1c 100644 --- a/modules/services/nixos/tailscale.nix +++ b/modules/services/nixos/tailscale.nix @@ -18,5 +18,11 @@ in allowedUDPPorts = [config.services.tailscale.port]; }; + # don't start tailscale until after headscale starts + systemd.services."tailscaled" = lib.mkIf config.collinux.services.selfhost.headscale.enable { + wants = lib.mkForce ["network.target" "headscale.target"]; + after = lib.mkForce ["network.target" "headscale.target"]; + }; + environment.systemPackages = [pkgs.tailscale]; } |
