summaryrefslogtreecommitdiffstats
path: root/2configs/home/ham/calendar
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-05-15 13:13:13 +0200
committermakefu <github@syntax-fehler.de>2021-05-15 13:16:52 +0200
commitcd44d3ff2bba75a1ec6946ea4197b75b64b0be39 (patch)
tree5d64356f64a8dde2f85b33b72e9c58909bc9750d /2configs/home/ham/calendar
parentd3b6472d0450fc9e10d8ac8676bf2a99d5d39439 (diff)
ma home/ham: add signal-rest, update automations
Diffstat (limited to '2configs/home/ham/calendar')
-rw-r--r--2configs/home/ham/calendar/nextcloud.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/2configs/home/ham/calendar/nextcloud.nix b/2configs/home/ham/calendar/nextcloud.nix
index 80e51b348..6035904cc 100644
--- a/2configs/home/ham/calendar/nextcloud.nix
+++ b/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 = ".*";
+ }
+ ];
}
+
];
}