mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
nixos/cron: unbreak since new security.wrapper
This commit is contained in:
parent
aaac02f6c4
commit
a45821e7a8
@ -93,7 +93,7 @@ in
|
|||||||
|
|
||||||
{ services.cron.enable = mkDefault (allFiles != []); }
|
{ services.cron.enable = mkDefault (allFiles != []); }
|
||||||
(mkIf (config.services.cron.enable) {
|
(mkIf (config.services.cron.enable) {
|
||||||
security.wrappers.crontab.source = "${pkgs.cronNixosPkg.out}/bin/crontab";
|
security.wrappers.crontab.source = "${cronNixosPkg}/bin/crontab";
|
||||||
environment.systemPackages = [ cronNixosPkg ];
|
environment.systemPackages = [ cronNixosPkg ];
|
||||||
environment.etc.crontab =
|
environment.etc.crontab =
|
||||||
{ source = pkgs.runCommand "crontabs" { inherit allFiles; preferLocalBuild = true; }
|
{ source = pkgs.runCommand "crontabs" { inherit allFiles; preferLocalBuild = true; }
|
||||||
|
Loading…
Reference in New Issue
Block a user