From c2b1899ac1fff4ee804a35923979b3590b35b047 Mon Sep 17 00:00:00 2001 From: jz8132543 Date: Wed, 20 Nov 2024 00:15:22 +0800 Subject: [PATCH] fix: derper --- nixos/modules/base/nixpkgs.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/nixos/modules/base/nixpkgs.nix b/nixos/modules/base/nixpkgs.nix index 9ee23d3..66749f9 100644 --- a/nixos/modules/base/nixpkgs.nix +++ b/nixos/modules/base/nixpkgs.nix @@ -21,10 +21,17 @@ let inherit (inputs'.nix-gc-s3.packages) nix-gc-s3; # inherit (inputs'.headscale.packages) headscale; clash2sing-box = inputs'.clash2sing-box.packages.default; - # tailscale = prev.tailscale.overrideAttrs (old: { - # # tailscale = inputs'.tailscale.packages.tailscale.overrideAttrs (old: { - # subPackages = old.subPackages ++ [ "cmd/derper" ] ++ [ "cmd/derpprobe" ]; - # }); + tailscale = prev.tailscale.overrideAttrs (_old: { + # tailscale = inputs'.tailscale.packages.tailscale.overrideAttrs (old: { + # subPackages = old.subPackages ++ [ "cmd/derper" ] ++ [ "cmd/derpprobe" ]; + subPackages = [ + "cmd/tailscale" + "cmd/tailscaled" + "cmd/derper" + "cmd/stunc" + "cmd/hello" + ]; + }); } ) ];