summaryrefslogtreecommitdiffstats
path: root/vdirsyncer/config
diff options
context:
space:
mode:
Diffstat (limited to 'vdirsyncer/config')
-rw-r--r--vdirsyncer/config82
1 files changed, 82 insertions, 0 deletions
diff --git a/vdirsyncer/config b/vdirsyncer/config
new file mode 100644
index 0000000..5d981f8
--- /dev/null
+++ b/vdirsyncer/config
@@ -0,0 +1,82 @@
+[general]
+# A folder where vdirsyncer can store some metadata about each pair.
+status_path = "~/.vdirsyncer/status/"
+
+## CARDDAV
+[pair radicale_contacts]
+a = "radicale_contacts_local"
+b = "radicale_contacts_remote"
+
+collections = ["from a", "from b"]
+
+[storage radicale_contacts_local]
+type = "filesystem"
+path = "~/.contacts/"
+fileext = ".vcf"
+
+[storage radicale_contacts_remote]
+type = "carddav"
+url = "http://radicale.banded-neon.ts.net/radicale/lemon/9478cfeb-26b3-21aa-716c-97ab18806d1f/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+
+# CALDAV
+#
+# rimsky primary
+[pair radicale_rimsky]
+a = "radicale_local_rimsky"
+b = "radicale_remote_rimsky"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "b wins"
+
+[storage radicale_local_rimsky]
+type = "filesystem"
+path = "~/.calendars/radicale-rimsky/"
+fileext = ".ics"
+
+[storage radicale_remote_rimsky]
+type = "caldav"
+url = "http://radicale.banded-neon.ts.net/radicale/lemon/7c38e0c7-4a42-9863-c9e0-6025a32c4a65/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+# rimsky alternative
+[pair radicale_rimsky_alternative]
+a = "radicale_local_rimsky_alternative"
+b = "radicale_remote_rimsky_alternative"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "b wins"
+
+[storage radicale_local_rimsky_alternative]
+type = "filesystem"
+path = "~/.calendars/radicale-rimsky-alternative/"
+fileext = ".ics"
+
+[storage radicale_remote_rimsky_alternative]
+type = "caldav"
+url = "http://radicale.banded-neon.ts.net/radicale/lemon/bb48f855-f7bc-183f-f79d-275327d426d5/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+# Google
+
+[pair google]
+a = "google_local"
+b = "google_remote"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "a wins"
+
+[storage google_local]
+type = "filesystem"
+path = "~/.calendars/google/"
+fileext = ".ics"
+
+[storage google_remote]
+type = "google_calendar"
+token_file = "~/.vdirsyncer/gcal"
+client_id = "627319068962-ntpf4k7ouebv6p8dfqcb46qhf7mim2jp.apps.googleusercontent.com"
+client_secret = "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"