aboutsummaryrefslogtreecommitdiff
path: root/tw/services/files
diff options
context:
space:
mode:
Diffstat (limited to 'tw/services/files')
-rw-r--r--tw/services/files/khal.conf1
-rw-r--r--tw/services/files/vdirsyncer.conf8
-rw-r--r--tw/services/files/vdirsyncer.work.conf38
3 files changed, 46 insertions, 1 deletions
diff --git a/tw/services/files/khal.conf b/tw/services/files/khal.conf
index 3240609a..ea508677 100644
--- a/tw/services/files/khal.conf
+++ b/tw/services/files/khal.conf
@@ -1,7 +1,6 @@
# https://lostpackets.de/khal/configure.html
[default]
-default_calendar = Personal
highlight_event_days = True
show_all_days = True
timedelta = 7d
diff --git a/tw/services/files/vdirsyncer.conf b/tw/services/files/vdirsyncer.conf
index 0745c98f..9e38c37b 100644
--- a/tw/services/files/vdirsyncer.conf
+++ b/tw/services/files/vdirsyncer.conf
@@ -76,6 +76,14 @@ type = "http"
# The URL contains an access token, so get it from pass.
url.fetch = ["shell", "~/.guix-home/profile/bin/pass cern/indico-calendar-url | head -1"]
+# Work Exchange calendar (read-only).
+[pair cern]
+a = "cern_calendar"
+b = "local_cern_calendar"
+metadata = []
+collections = null
+conflict_resolution = "a wins"
+
[storage local_cern_calendar]
type = "filesystem"
path = "~/.local/share/vdirsyncer/cern"
diff --git a/tw/services/files/vdirsyncer.work.conf b/tw/services/files/vdirsyncer.work.conf
new file mode 100644
index 00000000..705a67bd
--- /dev/null
+++ b/tw/services/files/vdirsyncer.work.conf
@@ -0,0 +1,38 @@
+[general]
+status_path = "~/.local/share/vdirsyncer/status"
+
+# Work Indico calendar (read-only).
+[pair indico]
+a = "indico_calendar"
+b = "local_indico_calendar"
+metadata = []
+collections = null
+conflict_resolution = "a wins"
+
+[storage local_indico_calendar]
+type = "filesystem"
+path = "~/.local/share/vdirsyncer/indico"
+fileext = ".ics"
+
+[storage indico_calendar]
+type = "http"
+# The URL contains an access token, so get it from pass.
+url.fetch = ["shell", "~/.guix-home/profile/bin/pass cern/indico-calendar-url | head -1"]
+
+# Work Exchange calendar (read-only).
+[pair cern]
+a = "cern_calendar"
+b = "local_cern_calendar"
+metadata = []
+collections = null
+conflict_resolution = "a wins"
+
+[storage local_cern_calendar]
+type = "filesystem"
+path = "~/.local/share/vdirsyncer/cern"
+fileext = ".ics"
+
+[storage cern_calendar]
+type = "http"
+# The URL contains an access token, so get it from pass.
+url.fetch = ["shell", "~/.guix-home/profile/bin/pass cern/exol/calendar-url | head -1"]