diff options
author | Shea Levy <shea@shealevy.com> | 2015-07-24 12:15:37 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-07-24 12:15:37 -0400 |
commit | e3c374fac4fa76ad92275fd7a109e5098e086969 (patch) | |
tree | 498b1c8753549f2b8bef4d6601598d6f1b470cb3 /nixos/modules/services/scheduling | |
parent | 3d6bd6a1facff3993d1b581dfcf9ee2b6a751642 (diff) |
cron: Actually enable the service if enabled
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r-- | nixos/modules/services/scheduling/cron.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix index a92e8b65d2abf..02d80a77da505 100644 --- a/nixos/modules/services/scheduling/cron.nix +++ b/nixos/modules/services/scheduling/cron.nix @@ -93,7 +93,7 @@ in { services.cron.enable = mkDefault (allFiles != []); } - (mkIf (config.services.cron.enable && allFiles != []) { + (mkIf (config.services.cron.enable) { security.setuidPrograms = [ "crontab" ]; |