mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
4c8647b1ed
Trayscale is an unofficial GUI wrapper around the Tailscale CLI client. PR #5803
15 lines
343 B
Nix
15 lines
343 B
Nix
{ ... }: {
|
|
services.trayscale = {
|
|
enable = true;
|
|
hideWindow = true;
|
|
};
|
|
|
|
test.stubs = { trayscale = { }; };
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/trayscale.service
|
|
assertFileExists $serviceFile
|
|
assertFileRegex $serviceFile \
|
|
'^ExecStart=@trayscale@/bin/trayscale --hide-window$'
|
|
'';
|
|
}
|