diff --git a/pkgs/servers/tailscale/default.nix b/pkgs/servers/tailscale/default.nix index 27822f6b8975..4f37d38f021e 100644 --- a/pkgs/servers/tailscale/default.nix +++ b/pkgs/servers/tailscale/default.nix @@ -1,4 +1,15 @@ -{ lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper, iptables, iproute2, procps, shadow, getent }: +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +, makeWrapper +, getent +, iproute2 +, iptables +, shadow +, procps +, nixosTests +}: let version = "1.58.0"; @@ -38,6 +49,10 @@ buildGoModule { install -D -m0444 -t $out/lib/systemd/system ./cmd/tailscaled/tailscaled.service ''; + passthru.tests = { + inherit (nixosTests) headscale; + }; + meta = with lib; { homepage = "https://tailscale.com"; description = "The node agent for Tailscale, a mesh VPN built on WireGuard";