mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-30 06:01:03 +01:00
20 lines
362 B
Nix
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"'
|
|
'';
|
|
}
|