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" '';