From 7682f47e0ff5fe9f3ff8459199df550d4a451177 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 1 Jun 2023 09:21:59 +0200 Subject: [PATCH] Update vdirsync calendars Remove sync to own calendars. Always fetch from original source to local. --- home/programs/vdirsyncer.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/home/programs/vdirsyncer.nix b/home/programs/vdirsyncer.nix index 9f07c91..416c426 100644 --- a/home/programs/vdirsyncer.nix +++ b/home/programs/vdirsyncer.nix @@ -44,15 +44,14 @@ end_date = "datetime.now() + timedelta(days=365)" [pair sac_team] - a = "sac_team_calendar_private" - b = "sac_team_calendar_public" + a = "sac_team_calendar_local" + b = "sac_team_calendar_remote" collections = null - [storage sac_team_calendar_private] - type = "caldav" - url = "https://nextcloud.codappix.com/remote.php/dav/calendars/daniel.siepmann/sac-scrum-team-synced/" - username = "daniel.siepmann" - password.fetch = ["command", "${pkgs.libsecret}/bin/secret-tool", "lookup", "account", "app-dsiepmann@nextcloud.codappix.com"] - [storage sac_team_calendar_public] + [storage sac_team_calendar_local] + type = "filesystem" + path = "${config.xdg.dataHome}/vdir/calendars/sac_team/" + fileext = ".ics" + [storage sac_team_calendar_remote] type = "http" url = "https://calendar.google.com/calendar/ical/0ks410dho8f5ohcik361i4c2bs%40group.calendar.google.com/public/basic.ics" '';