1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-30 06:01:03 +01:00
home-manager/tests/modules/programs/hwatch/example-config.nix
2025-05-30 10:16:26 -05:00

20 lines
362 B
Nix

{
config,
...
}:
{
programs.hwatch = {
enable = true;
package = config.lib.test.mkStubPackage { };
extraArgs = [
"--exec"
"--precise"
];
};
nmt.script = ''
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
assertFileContains home-path/etc/profile.d/hm-session-vars.sh 'HWATCH="--exec --precise"'
'';
}