1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
home-manager/tests/modules/services/trayscale/hide-window.nix

16 lines
343 B
Nix
Raw Permalink Normal View History

{ ... }: {
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$'
'';
}