about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.config/systemd/user/lieer-google.service7
-rw-r--r--configs/shared/.config/systemd/user/lieer-google.timer9
2 files changed, 16 insertions, 0 deletions
diff --git a/configs/shared/.config/systemd/user/lieer-google.service b/configs/shared/.config/systemd/user/lieer-google.service
new file mode 100644
index 000000000000..2f79ed6ccaa8
--- /dev/null
+++ b/configs/shared/.config/systemd/user/lieer-google.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Lieer sync for account 'google'
+
+[Service]
+Type=oneshot
+ExecStart=/nix/store/n6c4pr4fyrsjfksspkapb7yqc6fzl166-corp-lieer/bin/gmi sync
+WorkingDirectory=%h/mail/account.google
diff --git a/configs/shared/.config/systemd/user/lieer-google.timer b/configs/shared/.config/systemd/user/lieer-google.timer
new file mode 100644
index 000000000000..a073da25ea82
--- /dev/null
+++ b/configs/shared/.config/systemd/user/lieer-google.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run lieer sync for account 'google'
+
+[Timer]
+OnActiveSec=1
+OnUnitActiveSec=120
+
+[Install]
+WantedBy=timers.target