t490: add cron job to run imapfilter
This commit is contained in:
parent
baf0ed984d
commit
be06a07019
nix/hosts/t490/services
11
nix/hosts/t490/services/cron.nix
Normal file
11
nix/hosts/t490/services/cron.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.cron = {
|
||||
enable = true;
|
||||
|
||||
systemCronJobs = [
|
||||
"* * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/email-filters/config.lua"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./cron.nix
|
||||
./dwm.nix
|
||||
./interception-tools.nix
|
||||
./sound.nix
|
||||
|
|
Loading…
Reference in a new issue