[general] status_path = "~/.config/vdirsyncer/status/" #CardDav # CARDDAV [pair contacts] # A `[pair ]` block defines two storages `a` and `b` that should be # synchronized. The definition of these storages follows in `[storage ]` # blocks. This is similar to accounts in OfflineIMAP. a = "contacts_local" b = "contacts_remote" # Synchronize all collections that can be found. # You need to run `vdirsyncer discover` if new calendars/addressbooks are added # on the server. collections = ["from a", "from b"] # Synchronize the "display name" property into a local file (~/.contacts/displayname). metadata = ["displayname"] # To resolve a conflict the following values are possible: # `null` - abort when collisions occur (default) # `"a wins"` - assume a's items to be more up-to-date # `"b wins"` - assume b's items to be more up-to-date #conflict_resolution = null [storage contacts_local] # A storage references actual data on a remote server or on the local disk. # Similar to repositories in OfflineIMAP. type = "filesystem" path = "~/.contacts/" fileext = ".vcf" [storage contacts_remote] type = "carddav" url = "https://matrix.mickenordin.se/remote.php/dav/contacts/micke/personal/" username = "micke" #Instead of inserting my plaintext password I fetch it using pass password.fetch = ["command", "pass", "matrix.mickenordin.se/micke"] # CalDav [pair calendar] a = "calendar_local" b = "calendar_remote" collections = ["from a", "from b"] metadata = ["displayname"] [storage calendar_local] type = "filesystem" path = "~/.calendar" fileext = ".ics" [storage calendar_remote] type = "caldav" #Can be obtained from nextcloud url = "https://matrix.mickenordin.se/remote.php/dav/calendars/micke/personal/" username = "micke" #Instead of inserting my plaintext password I fetch it using pass password.fetch = ["command", "pass", "matrix.mickenordin.se/micke"] #SSL certificate fingerprint #verify_fingerprint = "FINGERPRINT" #Verify ssl certificate. Set to false if it is self signed and not installed on local machine verify = true