feat(nixos/frog): Enable lieer sync for mail@tazj.in
Change-Id: I38a338143d57d5f49532d200910f9406fa49f535 Reviewed-on: https://cl.tvl.fyi/c/depot/+/61 Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
a342bdb80b
commit
80d324b53b
1 changed files with 20 additions and 0 deletions
|
@ -167,6 +167,26 @@ in depot.lib.fix(self: {
|
||||||
RuntimeDirectorySize=16G
|
RuntimeDirectorySize=16G
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Configure email setup
|
||||||
|
systemd.user.services.lieer-tazjin = {
|
||||||
|
description = "Synchronise mail@tazj.in via lieer";
|
||||||
|
script = "${lieer}/bin/gmi sync";
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
WorkingDirectory = "%h/mail/account.tazjin";
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.timers.lieer-tazjin = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
|
||||||
|
timerConfig = {
|
||||||
|
OnActiveSec = "1";
|
||||||
|
OnUnitActiveSec = "180";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
# programs from the depot
|
# programs from the depot
|
||||||
(with depot; [
|
(with depot; [
|
||||||
|
|
Loading…
Reference in a new issue