summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham/calendar
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-11-18 22:23:33 +0100
committermakefu <github@syntax-fehler.de>2020-11-18 22:23:33 +0100
commit78fc347be0a0b680bd39a72ac94418d211f5d777 (patch)
tree9e3b7ccd59bb6b1422f5fdc3422e641bd055ea30 /makefu/2configs/ham/calendar
parente04ae7a3147c731fa3eff16721253cec4dfccdbc (diff)
ma ham: use new home-assistant merge function
Diffstat (limited to 'makefu/2configs/ham/calendar')
-rw-r--r--makefu/2configs/ham/calendar/nextcloud.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/makefu/2configs/ham/calendar/nextcloud.nix b/makefu/2configs/ham/calendar/nextcloud.nix
index 0be23ad7b..80e51b348 100644
--- a/makefu/2configs/ham/calendar/nextcloud.nix
+++ b/makefu/2configs/ham/calendar/nextcloud.nix
@@ -2,7 +2,12 @@ let
cred = import <secrets/ham/nextcloud-calendar>;
in
{
- platform = "caldav";
- inherit (cred) username password;
- url = "https://o.euer.krebsco.de/remote.php/dav";
+ services.home-assistant.config.calendar =
+ [
+ {
+ platform = "caldav";
+ inherit (cred) username password;
+ url = "https://o.euer.krebsco.de/remote.php/dav";
+ }
+ ];
}