From 8deae7f566389d557a9811dbde2d5d426126d262 Mon Sep 17 00:00:00 2001 From: kat witch Date: Mon, 17 May 2021 06:52:47 +0100 Subject: [PATCH] services/calendar: radicale.config -> radicale.settings --- services/calendar.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/services/calendar.nix b/services/calendar.nix index f19315a7..5f5069f1 100644 --- a/services/calendar.nix +++ b/services/calendar.nix @@ -12,12 +12,13 @@ in { services.radicale = { enable = true; - config = '' - [auth] - type = htpasswd - htpasswd_filename = ${htpasswd} - htpasswd_encryption = bcrypt - ''; + settings = { + auth = { + type = "htpasswd"; + htpasswd_filename = toString htpasswd; + htpasswd_encryption = "bcrypt"; + }; + }; }; services.nginx.virtualHosts = {