commit 136f59fca92474da04ea907b288096b6cb5c24ff parent e470c065fbaa6bfd897409e6da6047ca04830847 Author: William Casarin <jb55@jb55.com> Date: Tue, 30 Mar 2021 11:09:55 -0700 sync calendar every 15 Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
A | bin/calsync | | | 2 | ++ |
M | nix-config/services/desktop/default.nix | | | 9 | +++++++++ |
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/bin/calsync b/bin/calsync @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +runlogu sync-calendar.service diff --git a/nix-config/services/desktop/default.nix b/nix-config/services/desktop/default.nix @@ -173,6 +173,15 @@ in drivers = [ pkgs.gutenprint ] ; }; + systemd.user.services.sync-calendar = { + enable = if extra.is-minimal then false else true; + description = "Calendar Sync"; + wantedBy = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig.ExecStart = "${pkgs.vdirsyncer}/bin/vdirsyncer sync"; + startAt = "*:0/15"; + }; + systemd.user.services.standup = { enable = if extra.is-minimal then false else true; description = "Standup notification";