cron: Actually enable the service if enabled

This commit is contained in:
Shea Levy 2015-07-24 12:15:37 -04:00
parent 3d6bd6a1fa
commit e3c374fac4
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ in
{ services.cron.enable = mkDefault (allFiles != []); }
(mkIf (config.services.cron.enable && allFiles != []) {
(mkIf (config.services.cron.enable) {
security.setuidPrograms = [ "crontab" ];