fixed issue with system jobs

This commit is contained in:
Aaron Andersen 2018-08-27 15:23:19 +00:00
parent 8da9d7ceb1
commit fc1f33bc2c

@ -51,7 +51,11 @@ in
security.wrappers.incrontab.source = "${pkgs.incron}/bin/incrontab";
environment.etc."incron.d/system".text = "${cfg.systab}";
# incron won't read symlinks
environment.etc."incron.d/system" = {
mode = "0444";
text = "${cfg.systab}";
};
environment.etc."incron.allow" = mkIf (cfg.allow != null) {
text = "${concatStringsSep "\n" cfg.allow}";
};