summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/calendar
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-05-20 11:08:58 +0200
committertv <tv@krebsco.de>2021-05-20 11:08:58 +0200
commit5460255668f43ad1486c6ce0261aebe06d64857a (patch)
tree75e4f4b71c5636bb405b9ddbb30fdbeeffb4eced /makefu/2configs/home/ham/calendar
parenta5d9c02a937f577c0dc25b8e46142f9c9b1db534 (diff)
parentda975042c505a2fa693677cbd10d8245c17b3570 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/2configs/home/ham/calendar')
-rw-r--r--makefu/2configs/home/ham/calendar/nextcloud.nix30
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 = ".*";
+ }
+ ];
}
+
];
}