[general]
status_path = "~/.local/share/vdirsyncer/status/"

[pair cloud_opytex_contact]
a = "cloud_opytex_contact_local"
b = "cloud_opytex_contact_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"

[storage cloud_opytex_contact_local]
type = "filesystem"
path = "~/.contacts/contacts/"
fileext = ".vcf"

[storage cloud_opytex_contact_remote]
type = "carddav"
url = "https://cloud.poneyworld.net/remote.php/dav/addressbooks/users/lafrite/contacts/"
username = "lafrite"
password.fetch = ["command", "pass", "OVH/Panais/docker/cloud.poneyworld.net/lafrite"]

[pair cloud_opytex_calendar]
a = "cloud_opytex_calendar_local"
b = "cloud_opytex_calendar_remote"
collections = ["from b"]
conflict_resolution = "b wins"

[storage cloud_opytex_calendar_local]
type = "filesystem"
path = "~/.calendars/"
fileext = ".ics"

[storage cloud_opytex_calendar_remote]
type = "caldav"
url = "https://cloud.poneyworld.net/remote.php/dav/calendars/lafrite/"
username = "lafrite"
password.fetch = ["command", "pass", "OVH/Panais/docker/cloud.poneyworld.net/lafrite"]
