diff --git a/hosts/web-2/radicale.nix b/hosts/web-2/radicale.nix index 0a9f01e..83d92ce 100644 --- a/hosts/web-2/radicale.nix +++ b/hosts/web-2/radicale.nix @@ -3,18 +3,19 @@ { services.radicale = { enable = true; - config = '' - [server] - hosts = 127.0.0.1:61865 - - [auth] - type = htpasswd - htpasswd_filename = /var/src/secrets/radicale/htpasswd - htpasswd_encryption = bcrypt - - [storage] - filesystem_folder = /var/lib/radicale/collections - ''; + settings = { + server = { + hosts = [ "127.0.0.1:61865" ]; + }; + auth = { + type = "htpasswd"; + htpasswd_filename = "/var/src/secrets/radicale/htpasswd"; + htpasswd_encryption = "bcrypt"; + }; + storage = { + filesystem_folder = "/var/lib/radicale/collections"; + }; + }; }; services.nginx.virtualHosts."dav.clerie.de" = {