From ad6be174862e4782e92db1c54a8beb98acd912e5 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sun, 13 Aug 2023 20:16:33 +0200 Subject: [PATCH] feat: updated calendars --- modules/home-manager/dav/default.nix | 53 +--------------------------- 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/modules/home-manager/dav/default.nix b/modules/home-manager/dav/default.nix index 87ca197..8c11179 100644 --- a/modules/home-manager/dav/default.nix +++ b/modules/home-manager/dav/default.nix @@ -28,7 +28,7 @@ in [pair nextcloud_calendar] a = "nextcloud_calendar_local" b = "nextcloud_calendar_remote" - collections = ["personal", "contact_birthdays", "yoga", "events"] + collections = ["personal", "contact_birthdays", "events"] metadata = ["color"] [storage nextcloud_calendar_local] @@ -100,47 +100,6 @@ in token_file = "${tokens}/google_contacts" client_id.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_id"] client_secret.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_secret"] - - - ########### - # trakken # - ########### - - ## calendar - - [pair trakken_calendar_sync] - a = "trakken_calendar_remote" - b = "trakken_calendar_local" - collections = [["trakken_cal", "ricard@trkkn.com", "ricard@trkkn.com"]] - - [storage trakken_calendar_local] - type = "filesystem" - path = "${calendars}/trakken/" - fileext = ".ics" - - [storage trakken_calendar_remote] - type = "google_calendar" - token_file = "${tokens}/trakken_calendar" - client_id.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_id"] - client_secret.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_secret"] - - ## contacts - - [pair trakken_contacts] - a = "trakken_contacts_local" - b = "trakken_contacts_remote" - collections = [["trakken_contacts", "default", "default"]] - - [storage trakken_contacts_local] - type = "filesystem" - path = "${contacts}/trakken" - fileext = ".vcf" - - [storage trakken_contacts_remote] - type = "google_contacts" - token_file = "${tokens}/trakken_contacts" - client_id.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_id"] - client_secret.fetch = ["command", "${pass}", "google.com/vdirsyncer/client_secret"] ''; home.file.".config/khal/config".text = '' @@ -158,14 +117,6 @@ in path = ${calendars}/google/r.illa.pujagut@gmail.com/ color = dark blue - [[trakken]] - path = ${calendars}/trakken/ricard@trkkn.com/ - color = dark red - - [[yoga]] - path = ${calendars}/nextcloud/yoga/ - color = dark magenta - [[events]] path = ${calendars}/nextcloud/events color = brown @@ -196,8 +147,6 @@ in path = ${contacts}/nextcloud/contacts/ [[google]] path = ${contacts}/google/default/ - [[trakken]] - path = ${contacts}/trakken/default/ [general] debug = no