diff options
-rw-r--r-- | machines/profpatsch/katara.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 8a9a58ef..6bb32cf6 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -315,5 +315,20 @@ in { # fix for emacs ssh programs.bash.promptInit = "PS1=\"# \""; + ################ + # User services + systemd.user = { + services.offlineimap = { + description = "offlineimap sync"; + # NixOS doesn't support "Also" so we bring it in manually + wantedBy = [ "network.target" ]; + serviceConfig = { + Type = "simple"; + ExecStart = "${lib.getBin myPkgs.offlineimap}/bin/offlineimap"; + }; + # every 15 minutes + startAt = "*:0/15"; + }; + }; }; } |