Getting rid of the var indirection and using a bin path instead

This commit is contained in:
Parnell Springmeyer
2017-01-29 04:11:01 -06:00
parent a8cb2afa98
commit 4aa0923009
45 changed files with 86 additions and 65 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ let
};
cronJob = ''
@reboot logcheck env PATH=/run/wrappers:$PATH nice -n10 ${pkgs.logcheck}/sbin/logcheck -R ${flags}
2 ${cfg.timeOfDay} * * * logcheck env PATH=/run/wrappers:$PATH nice -n10 ${pkgs.logcheck}/sbin/logcheck ${flags}
@reboot logcheck env PATH=/run/wrappers/bin:$PATH nice -n10 ${pkgs.logcheck}/sbin/logcheck -R ${flags}
2 ${cfg.timeOfDay} * * * logcheck env PATH=/run/wrappers/bin:$PATH nice -n10 ${pkgs.logcheck}/sbin/logcheck ${flags}
'';
writeIgnoreRule = name: {level, regex, ...}: