summaryrefslogtreecommitdiffstats
path: root/vdirsyncer
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-04 15:02:41 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-04 15:06:36 +0100
commit0a49a7a027d6a01b88638043064ae28550f99b46 (patch)
treeae54aa1081d52e7508bf3ead89f3d1b48773f373 /vdirsyncer
parent2d86fc88132fe1474b21a1a536d37df8b5c537cf (diff)
Adds vdirsyncer, khal and khard
All config points working and syncing points to radicale server at this point.
Diffstat (limited to 'vdirsyncer')
-rw-r--r--vdirsyncer/config60
1 files changed, 60 insertions, 0 deletions
diff --git a/vdirsyncer/config b/vdirsyncer/config
new file mode 100644
index 0000000..7db113e
--- /dev/null
+++ b/vdirsyncer/config
@@ -0,0 +1,60 @@
+[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 = "https://cal.16693433.xyz/radicale/lemon/55caade5-39ac-f0d0-5a0f-373793eb6926/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+
+# CALDAV
+[pair radicale]
+a = "radicale_local"
+b = "radicale_remote"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "b wins"
+
+[storage radicale_local]
+type = "filesystem"
+path = "~/.calendars/radicale/"
+fileext = ".ics"
+
+[storage radicale_remote]
+type = "caldav"
+url = "https://cal.16693433.xyz/radicale/lemon/3c6cbab1-0568-1872-a1e8-bc71501565a9/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+[pair fastmail_calendar]
+a = "fastmail_calendar_local"
+b = "fastmail_calendar_remote"
+collections = ["from a", "from b"]
+
+# Calendars also have a color property
+metadata = ["displayname", "color"]
+
+[storage fastmail_calendar_local]
+type = "filesystem"
+path = "~/.calendars/fastmail/"
+fileext = ".ics"
+
+[storage fastmail_calendar_remote]
+type = "caldav"
+url = "https://caldav.fastmail.com/"
+username = "mrlemon@mailforce.net"
+password.fetch = ["command", "pass", "show", "evolution_email_fastmail"]