diff options
| author | EuAndreh <eu@euandre.org> | 2021-02-24 22:14:05 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-02-24 22:14:26 -0300 |
| commit | a76f8e128076482a5611990c5b00fba4117aaac2 (patch) | |
| tree | 7f8990613a1b5c832b77a3b15dcf0834ea122632 | |
| parent | fake-symlinks.sh: Add projects to the list (diff) | |
| download | dotfiles-a76f8e128076482a5611990c5b00fba4117aaac2.tar.gz dotfiles-a76f8e128076482a5611990c5b00fba4117aaac2.tar.xz | |
configuration.nix: Re-enable system cronjobs
| -rw-r--r-- | configuration.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configuration.nix b/configuration.nix index ddea5882..64f2f83f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,12 +23,12 @@ let }; }; priv-crons = { pacheco-job = "0 12 5 * *"; }; - crons = - builtins.mapAttrs (cron-for-name "/home/andreh/dev/libre/dotfiles/cron") - pub-crons.no-mail // builtins.mapAttrs - (cron-for-name "/home/andreh/dev/libre/dotfiles/cron/generated") - pub-crons.with-mail - // builtins.mapAttrs (cron-for-name "/home/andreh/annex/cron") priv-crons; + crons = builtins.attrValues + (builtins.mapAttrs (cron-for-name "/home/andreh/dev/libre/dotfiles/cron") + pub-crons.no-mail) ++ builtins.attrValues (builtins.mapAttrs + (cron-for-name "/home/andreh/dev/libre/dotfiles/cron/generated") + pub-crons.with-mail) ++ builtins.attrValues + (builtins.mapAttrs (cron-for-name "/home/andreh/annex/cron") priv-crons); privateConfiguration = import /etc/nixos/private-configuration.nix; enableFlatpak = true; # for usage with proprietary Skype proprietaryPackages = with pkgs; [ slack zoom-us openfortivpn ]; @@ -382,7 +382,7 @@ in { # We can see the actual generated crontab at /etc/crontab cron = { enable = true; - #systemCronJobs = crons; + systemCronJobs = crons; }; logrotate = { |
