mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 23:29:46 +01:00
16 lines
343 B
Nix
16 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$'
|
||
|
'';
|
||
|
}
|