mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
fixed issue with system jobs
This commit is contained in:
parent
8da9d7ceb1
commit
fc1f33bc2c
1 changed files with 5 additions and 1 deletions
|
@ -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}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue