summaryrefslogtreecommitdiff
path: root/tw/home/files
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files')
-rw-r--r--tw/home/files/khal.conf5
-rw-r--r--tw/home/files/vdirsyncer.conf10
2 files changed, 15 insertions, 0 deletions
diff --git a/tw/home/files/khal.conf b/tw/home/files/khal.conf
index 73bb5c19..3240609a 100644
--- a/tw/home/files/khal.conf
+++ b/tw/home/files/khal.conf
@@ -34,6 +34,11 @@ path = ~/.local/share/vdirsyncer/indico
color = yellow
readonly = True
+[[cern]]
+path = ~/.local/share/vdirsyncer/cern
+color = yellow
+readonly = True
+
[[calendars]]
type = discover
path = ~/.local/share/vdirsyncer/calendars/imported-*ics
diff --git a/tw/home/files/vdirsyncer.conf b/tw/home/files/vdirsyncer.conf
index 5dac2686..9a8a5603 100644
--- a/tw/home/files/vdirsyncer.conf
+++ b/tw/home/files/vdirsyncer.conf
@@ -75,3 +75,13 @@ fileext = ".ics"
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"]
+
+[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"]