[general] status_path = "~/.local/share/vdirsyncer/status" # Main contact list from Nextcloud. [pair main_contacts] a = "nextcloud_main_contacts" b = "local_main_contacts" metadata = ["displayname", "description"] collections = ["from a", "from b"] conflict_resolution = "a wins" [storage local_main_contacts] type = "filesystem" path = "~/.local/share/vdirsyncer/main-contacts" fileext = ".vcf" [storage nextcloud_main_contacts] type = "carddav" url = "https://cloud.wilkenfamily.de/remote.php/dav/addressbooks/users/timo/contacts/" username.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | awk '/^username: /{print $2}'"] password.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | head -1"] # "Sandbox Contacts" from Nextcloud, mostly for WhatsApp. [pair sandbox_contacts] a = "nextcloud_sandbox_contacts" b = "local_sandbox_contacts" metadata = ["displayname", "description"] collections = ["from a", "from b"] conflict_resolution = "a wins" [storage local_sandbox_contacts] type = "filesystem" path = "~/.local/share/vdirsyncer/sandbox-contacts" fileext = ".vcf" [storage nextcloud_sandbox_contacts] type = "carddav" url = "https://cloud.wilkenfamily.de/remote.php/dav/addressbooks/users/timo/sandbox-contacts/" username.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | awk '/^username: /{print $2}'"] password.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | head -1"] # Calendar from Nextcloud. [pair calendars] a = "nextcloud_calendars" b = "local_calendars" metadata = ["color", "displayname", "description", "order"] collections = ["from a", "from b"] conflict_resolution = "a wins" [storage local_calendars] type = "filesystem" path = "~/.local/share/vdirsyncer/calendars" fileext = ".ics" [storage nextcloud_calendars] type = "caldav" url = "https://cloud.wilkenfamily.de/remote.php/dav/principals/users/timo/" username.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | awk '/^username: /{print $2}'"] password.fetch = ["shell", "~/.guix-home/profile/bin/pass www/nextcloud/timo | head -1"] # Work Indico calendar (read-only). [pair indico] a = "indico_calendar" b = "local_indico_calendar" metadata = [] collections = null conflict_resolution = "a wins" [storage local_indico_calendar] type = "filesystem" path = "~/.local/share/vdirsyncer/indico" fileext = ".ics" [storage indico_calendar] type = "http" # The URL contains an access token, so get it from pass. url.fetch = ["shell", "~/.guix-home/profile/bin/pass cern/indico-calendar-url | head -1"] [storage local_cern_calendar] type = "filesystem" path = "~/.local/share/vdirsyncer/cern" fileext = ".ics" [storage cern_calendar] type = "http" # The URL contains an access token, so get it from pass. url.fetch = ["shell", "~/.guix-home/profile/bin/pass cern/exol/calendar-url | head -1"]