diff options
author | makefu <github@syntax-fehler.de> | 2021-05-15 13:13:13 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-05-15 13:16:52 +0200 |
commit | 485807c22d20db9684612333cfda0b1fa63cf45a (patch) | |
tree | ba3870dcf3e1c4cfef7d6868683a459e6717dbe3 /makefu/2configs/home/ham/calendar/nextcloud.nix | |
parent | 7f515fd150eb7672f272ee61f581ae7e0ff76e86 (diff) |
ma home/ham: add signal-rest, update automations
Diffstat (limited to 'makefu/2configs/home/ham/calendar/nextcloud.nix')
-rw-r--r-- | makefu/2configs/home/ham/calendar/nextcloud.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/makefu/2configs/home/ham/calendar/nextcloud.nix b/makefu/2configs/home/ham/calendar/nextcloud.nix index 80e51b348..6035904cc 100644 --- a/makefu/2configs/home/ham/calendar/nextcloud.nix +++ b/makefu/2configs/home/ham/calendar/nextcloud.nix @@ -8,6 +8,36 @@ in platform = "caldav"; inherit (cred) username password; url = "https://o.euer.krebsco.de/remote.php/dav"; + # make calendars "all-day" before uploading: + # sed -i -e 's/^\(DTSTART;.*\)T......\r$/\1\r/' -e # 's/^\(DTEND;.*\)T......\r$/\1\r/' abfall.ical + custom_calendars = [ + { + name = "Gelbersack"; + calendar = "Abfall"; + search = "Gelber Sack.*"; + } + { + name = "Biomuell"; + calendar = "Abfall"; + search = "Bio.*"; + } + { + name = "Restmuell"; + calendar = "Abfall"; + search = "Rest.*"; + } + { + name = "Papiermuell"; + calendar = "Abfall"; + search = "Altpapier.*"; + } + { + name = "Kehrwoche"; + calendar = "Kehrwoche"; + search = ".*"; + } + ]; } + ]; } |