diff --git a/nix/hosts/t490/services/cron.nix b/nix/hosts/t490/services/cron.nix new file mode 100644 index 00000000..65004d5a --- /dev/null +++ b/nix/hosts/t490/services/cron.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + services.cron = { + enable = true; + + systemCronJobs = [ + "* * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/email-filters/config.lua" + ]; + }; +} diff --git a/nix/hosts/t490/services/default.nix b/nix/hosts/t490/services/default.nix index 0f225b27..541e60a7 100644 --- a/nix/hosts/t490/services/default.nix +++ b/nix/hosts/t490/services/default.nix @@ -1,5 +1,6 @@ { imports = [ + ./cron.nix ./dwm.nix ./interception-tools.nix ./sound.nix