43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
|
[general]
|
||
|
status_path = "~/.local/share/vdirsyncer/status/"
|
||
|
|
||
|
# CARDDAV
|
||
|
[pair example_contacts]
|
||
|
a = "example_contacts_local"
|
||
|
b = "example_contacts_remote"
|
||
|
|
||
|
collections = ["from a", "from b"]
|
||
|
|
||
|
metadata = ["displayname"]
|
||
|
|
||
|
#conflict_resolution = null
|
||
|
|
||
|
[storage example_contacts_local]
|
||
|
type = "filesystem"
|
||
|
path = "~/.local/share/contacts/Example"
|
||
|
fileext = ".vcf"
|
||
|
|
||
|
[storage example_contacts_remote]
|
||
|
type = "carddav"
|
||
|
url = "https://nextcloud.example.com/remote.php/carddav/"
|
||
|
username = "example_user"
|
||
|
password.fetch = ["command", "keyring", "get", "dav:nextcloud.example.com", "example_user"]
|
||
|
|
||
|
# CALDAV
|
||
|
[pair example_calendar]
|
||
|
a = "example_calendar_local"
|
||
|
b = "example_calendar_remote"
|
||
|
collections = ["from a", "from b"]
|
||
|
metadata = ["displayname", "color"]
|
||
|
|
||
|
[storage example_calendar_local]
|
||
|
type = "filesystem"
|
||
|
path = "~/.local/share/calendars/Example"
|
||
|
fileext = ".ics"
|
||
|
|
||
|
[storage example_calendar_remote]
|
||
|
type = "caldav"
|
||
|
url = "https://nextcloud.example.com/remote.php/caldav/"
|
||
|
username = "example_user"
|
||
|
password.fetch = ["command", "keyring", "get", "dav:nextcloud.example.com", "example_user"]
|