diff options
-rw-r--r-- | configs/shared/.config/systemd/user/lieer-google.service | 7 | ||||
-rw-r--r-- | configs/shared/.config/systemd/user/lieer-google.timer | 9 | ||||
-rw-r--r-- | mail/default.nix | 6 |
3 files changed, 22 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 diff --git a/mail/default.nix b/mail/default.nix new file mode 100644 index 000000000000..d1b67b965626 --- /dev/null +++ b/mail/default.nix @@ -0,0 +1,6 @@ +{ depot ? import <depot> {}, ... }: + +let + inherit (builtins) fetchGit; + tazjdots = import (fetchGit "sso://user/tazjin/dotfiles") { pkgs = depot; }; +in tazjdots.services.lieer |