t490: add cron job to run imapfilter

This commit is contained in:
Oliver Davies 2025-02-14 20:15:32 +00:00
parent baf0ed984d
commit be06a07019
2 changed files with 12 additions and 0 deletions
nix/hosts/t490/services

View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
services.cron = {
enable = true;
systemCronJobs = [
"* * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/email-filters/config.lua"
];
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./cron.nix
./dwm.nix
./interception-tools.nix
./sound.nix