summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/calendar/nextcloud.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-05-15 14:26:42 +0200
committerlassulus <lassulus@lassul.us>2021-05-15 14:26:42 +0200
commit35aa5ac31dc35f2e14bfb3222ac33381a640ad89 (patch)
tree6a2babb27c771b7e16dca4c4a302fd6e10054e38 /makefu/2configs/home/ham/calendar/nextcloud.nix
parent7e018afe85af22916f070a242d9d1667791e3457 (diff)
parent5bf33d683cbf6f43599ae97aa1c56b1fd0d7d3f3 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/home/ham/calendar/nextcloud.nix')
-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 80e51b34..6035904c 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 = ".*";
+ }
+ ];
}
+
];
}