stockholm/makefu/2configs/home/ham/calendar/nextcloud.nix
2022-01-30 23:51:32 +01:00

42 lines
848 B
Nix

let
cred = import <secrets/ham/nextcloud-calendar>;
in
{
services.home-assistant.config.calendar =
[
{
platform = "caldav";
inherit (cred) username password;
url = "https://o.euer.krebsco.de/remote.php/dav";
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 = ".*";
}
];
}
];
}