aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-02-02 16:25:53 +0100
committerDavid Runge <dave@sleepmap.de>2023-02-02 16:25:53 +0100
commit57a9fc19a0506d94ed5795445accd1b3ec184a34 (patch)
tree36e5650fa8cda820e629ffa064f35092f4c72d21
parentb4e9a604aa17f5241b159d1d7e91cdf47dbd0ea8 (diff)
downloaddotfiles-57a9fc19a0506d94ed5795445accd1b3ec184a34.tar.gz
dotfiles-57a9fc19a0506d94ed5795445accd1b3ec184a34.tar.bz2
dotfiles-57a9fc19a0506d94ed5795445accd1b3ec184a34.tar.xz
dotfiles-57a9fc19a0506d94ed5795445accd1b3ec184a34.zip
vdirsyncer: Use gopass and add further account
Add further account and use gopass to retrieve password instead of custom command.
-rw-r--r--.vdirsyncer/config20
1 files 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"]