Desktop: add tailscale system tray
This commit is contained in:
parent
74175100c7
commit
4da3beb168
2 changed files with 17 additions and 0 deletions
|
|
@ -6,5 +6,6 @@
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./printing.nix
|
./printing.nix
|
||||||
./networkmanager.nix
|
./networkmanager.nix
|
||||||
|
./tailscale.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
16
roles/desktop/services/tailscale.nix
Normal file
16
roles/desktop/services/tailscale.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue