From 57a9fc19a0506d94ed5795445accd1b3ec184a34 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 2 Feb 2023 16:25:53 +0100 Subject: vdirsyncer: Use gopass and add further account Add further account and use gopass to retrieve password instead of custom command. --- .vdirsyncer/config | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.vdirsyncer/config b/.vdirsyncer/config index 3561404..1020272 100644 --- a/.vdirsyncer/config +++ b/.vdirsyncer/config @@ -17,7 +17,7 @@ fileext = ".vcf" type = "carddav" url = "https://cloud.sleepmap.de/remote.php/dav/" username = "dave" -password.fetch = ["command", "~/bin/pass2vdirsyncer", "dave", "cloud.sleepmap.de"] +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] # caldav [pair dave_calendar] @@ -35,5 +35,21 @@ fileext = ".ics" type = "caldav" url = "https://cloud.sleepmap.de/remote.php/dav/" username = "dave" -password.fetch = ["command", "~/bin/pass2vdirsyncer", "dave", "cloud.sleepmap.de"] +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] +[pair nanni_calendar] +a = "nanni_calendar_local" +b = "nanni_calendar_remote" +conflict_resolution = "b wins" +collections = ["flanger-studio-four_shared_by_nanni", "work_shared_by_nanni"] + +[storage nanni_calendar_local] +type = "filesystem" +path = "~/.calendars/" +fileext = ".ics" + +[storage nanni_calendar_remote] +type = "caldav" +url = "https://cloud.flanger.se/remote.php/dav/calendars/dave/" +username = "dave" +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.flanger.se/dave"] -- cgit v1.2.3-70-g09d2