summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjopejoe1 <johannes@joens.email>2024-05-03 09:14:16 +0200
committerjopejoe1 <johannes@joens.email>2024-05-03 09:14:16 +0200
commit41059fc548088e49e3ddb3a2b4faeb5de018e60f (patch)
tree5d00df4102a8c0b7249d0e65613de483c611caee
parentef4756bcfc8a6791adbcae2b32f87e2f0a00525d (diff)
docs: use settings instead of config in radicale
-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 = {