summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/add-radicale.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/add-radicale.rst b/docs/add-radicale.rst
index 2393f6e..cf98333 100644
--- a/docs/add-radicale.rst
+++ b/docs/add-radicale.rst
@@ -24,12 +24,13 @@ have to be used. These can still be generated using `mkpasswd -m bcrypt`.
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 = {