Desktop: add tailscale system tray

This commit is contained in:
Toast 2025-10-28 19:03:26 +01:00
parent 74175100c7
commit 4da3beb168
2 changed files with 17 additions and 0 deletions

View file

@ -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;
};
};
};
}