diff --git a/roles/desktop/services/default.nix b/roles/desktop/services/default.nix index f08cc3b..6bc1d0f 100644 --- a/roles/desktop/services/default.nix +++ b/roles/desktop/services/default.nix @@ -6,5 +6,6 @@ ./pipewire.nix ./printing.nix ./networkmanager.nix + ./tailscale.nix ]; } diff --git a/roles/desktop/services/tailscale.nix b/roles/desktop/services/tailscale.nix new file mode 100644 index 0000000..8235ae8 --- /dev/null +++ b/roles/desktop/services/tailscale.nix @@ -0,0 +1,16 @@ +{pkgs, ...}: { + home-manager.users.toast = { + services.tailscale-systray = { + enable = true; + package = pkgs.tailscale.overrideAttrs { + postPatch = '' + substituteInPlace client/systray/logo.go --replace-fail \ + "color.NRGBA{0, 0, 0, 255}" "color.NRGBA{0, 0, 0, 0}" + ''; + # Only use this for the tray, so no testing is needed + # Makes the build last a lot less too + doCheck = false; + }; + }; + }; +}