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 = {