0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

More derp

This commit is contained in:
Parnell Springmeyer 2017-01-29 05:33:56 -06:00
parent 70b8167d4a
commit 628e6a83d0
No known key found for this signature in database
GPG key ID: DCCF89258EAD874A
13 changed files with 38 additions and 42 deletions

View file

@ -93,7 +93,7 @@ in
{ services.cron.enable = mkDefault (allFiles != []); }
(mkIf (config.services.cron.enable) {
security.setuidPrograms = [ "crontab" ];
security.wrappers.crontab.source = "${pkgs.cronNixosPkg.out}/bin/crontab";
environment.systemPackages = [ cronNixosPkg ];
environment.etc.crontab =
{ source = pkgs.runCommand "crontabs" { inherit allFiles; preferLocalBuild = true; }