fixed issue with system jobs
This commit is contained in:
parent
8da9d7ceb1
commit
fc1f33bc2c
@ -51,7 +51,11 @@ in
|
|||||||
|
|
||||||
security.wrappers.incrontab.source = "${pkgs.incron}/bin/incrontab";
|
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) {
|
environment.etc."incron.allow" = mkIf (cfg.allow != null) {
|
||||||
text = "${concatStringsSep "\n" cfg.allow}";
|
text = "${concatStringsSep "\n" cfg.allow}";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user