Update config

This commit is contained in:
Gwendolin Kummer 2023-09-18 09:46:20 +02:00
parent 581b4fc680
commit 785ae9c0d8
1 changed files with 37 additions and 5 deletions

View File

@ -1,19 +1,51 @@
[general]
status_path = "~/.local/share/vdirsyncer/status/"
[pair cal]
a = "cal_nc_local"
b = "cal_nc_remote"
# Calendar
[pair calendars]
a = "calendars_local"
b = "calendars_nc_remote"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
#conflict_resolution = ["command", "nvim", "-d"]
[storage cal_nc_local]
[pair calendars_singlefile]
a = "calendars_local_singlefile"
b = "calendars_nc_remote"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
#conflict_resolution = ["command", "nvim", "-d"]
[storage calendars_local]
type = "filesystem"
path = "~/.local/share/calendar/"
fileext = ".ics"
[storage cal_nc_remote]
[storage calendars_local_singlefile]
type = "singlefile"
path = "~/.local/share/calendar_singlefile/%s.ics"
[storage calendars_nc_remote]
type = "caldav"
url = "https://nc.jeanclaudegraf.ch/remote.php/dav/calendars/gwendolin/"
username = "gwendolin"
password.fetch = ["command", "pass", "nc.jeanclaudegraf.ch/gwendolin"]
# Contacts
[pair contacts]
a = "contacts_local"
b = "contacts_nc_remote"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
#conflict_resolution = ["command", "nvim", "-d"]
[storage contacts_local]
type = "filesystem"
path = "~/.local/share/contacts/"
fileext = ".vcf"
[storage contacts_nc_remote]
type = "carddav"
url = "https://nc.jeanclaudegraf.ch/remote.php/dav/addressbooks/users/gwendolin/"
username = "gwendolin"
password.fetch = ["command", "pass", "nc.jeanclaudegraf.ch/gwendolin"]