From e28becc87b300ee5bd5e143b35bb9c896a990bc8 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 3 May 2024 09:16:50 +0200 Subject: [PATCH] use config instead of settings --- systems/hetzner/radicale.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/systems/hetzner/radicale.nix b/systems/hetzner/radicale.nix index b35f56f..2c9ac52 100644 --- a/systems/hetzner/radicale.nix +++ b/systems/hetzner/radicale.nix @@ -13,12 +13,13 @@ let in { services.radicale = { enable = true; - config = '' - [auth] - type = htpasswd - htpasswd_filename = ${htpasswd} - htpasswd_encryption = bcrypt - ''; + settings = { + auth = { + type = "htpasswd"; + htpasswd_filename = "${htpasswd}"; + htpasswd_encryption = "bcrypt"; + }; + }; }; services.nginx = {