diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
| commit | cfaef26e8718916adcc68fbfb63b15f2389b2cd2 (patch) | |
| tree | 3989af4514d31d0a5cb89e8b96d51210ad7bf152 /email/mailsync.nix | |
| parent | 654ec06ab6a885ea851c4cbf68d06a00b41b0e14 (diff) | |
move all the files
Diffstat (limited to 'email/mailsync.nix')
| -rw-r--r-- | email/mailsync.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/email/mailsync.nix b/email/mailsync.nix deleted file mode 100644 index 3fcb0c5..0000000 --- a/email/mailsync.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - inputs, - config, - pkgs, - ... -}: { - programs.mbsync = { - enable = true; - }; - systemd.user.timers.mailsync = { - Unit = { - Description = "daemon that syncs mail"; - }; - Timer = { - OnBootSec = "5m"; - OnUnitActiveSec = "5m"; - Unit = "mailsync.service"; - }; - Install = { - WantedBy = [ "timers.target" ]; - }; - }; - systemd.user.services.mailsync = { - Unit = { - Description = "daemon that syncs mail"; - }; - Service = { - Type = "oneshot"; - RemainAfterExit = "no"; - ExecSearchPath = "${config.home.profileDirectory}/bin:/run/current-system/sw/bin"; - ExecStart = "${pkgs.coreutils}/bin/env mailsync"; - }; - }; -} |
