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 000000000..2f79ed6cc --- /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 000000000..a073da25e --- /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 000000000..d1b67b965 --- /dev/null +++ b/mail/default.nix @@ -0,0 +1,6 @@ +{ depot ? import {}, ... }: + +let + inherit (builtins) fetchGit; + tazjdots = import (fetchGit "sso://user/tazjin/dotfiles") { pkgs = depot; }; +in tazjdots.services.lieer