1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/services/trayscale/show-window.nix
Callum Leslie 4c8647b1ed
trayscale: add module
Trayscale is an unofficial GUI wrapper around the Tailscale CLI
client.

PR #5803
2024-09-13 10:59:31 +02:00

15 lines
330 B
Nix

{ ... }: {
services.trayscale = {
enable = true;
hideWindow = false;
};
test.stubs = { trayscale = { }; };
nmt.script = ''
serviceFile=home-files/.config/systemd/user/trayscale.service
assertFileExists $serviceFile
assertFileRegex $serviceFile \
'^ExecStart=@trayscale@/bin/trayscale$'
'';
}