From 88051c9ccfa9b863b41f0ae86dbb1caaeb739743 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 12 Jun 2021 21:26:56 +0700 Subject: Overhaul configurations --- nixos/.config/systemd/user/mbsync.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nixos/.config/systemd/user/mbsync.service (limited to 'nixos/.config/systemd/user/mbsync.service') diff --git a/nixos/.config/systemd/user/mbsync.service b/nixos/.config/systemd/user/mbsync.service new file mode 100644 index 0000000..55b05b0 --- /dev/null +++ b/nixos/.config/systemd/user/mbsync.service @@ -0,0 +1,12 @@ +[Unit] +Description=Synchronize IMAP and MailDir +Documentation=man:mbsync(1) +ConditionPathExists=%h/.mbsyncrc +After=network.target + +[Service] +ExecStart=/run/current-system/sw/bin/mbsync primary legacy +Type=oneshot + +[Install] +WantedBy=default.target -- cgit 1.4.1