diff options
author | Ben Sima <ben@bsima.me> | 2021-12-21 10:53:56 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-12-21 11:01:55 -0500 |
commit | f8197182cc5c2482781c2d02fc8e05ba75d00c09 (patch) | |
tree | f7a314d6381ad0c6d113a438a65e0e8c4d46ec8f /Biz/Cloud | |
parent | 47287f3b218e7f30e2ce5b1bdd7f6b0f3fac41ee (diff) |
Switch services.radicale.config -> settings
Diffstat (limited to 'Biz/Cloud')
-rw-r--r-- | Biz/Cloud/Web.nix | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix index 68ff19e..5d951e8 100644 --- a/Biz/Cloud/Web.nix +++ b/Biz/Cloud/Web.nix @@ -21,14 +21,19 @@ in services = { radicale = { enable = true; - config = '' - [server] - hosts = 0.0.0.0:${toString ports.radicale}, [::]:${toString ports.radicale} - [auth] - type = htpasswd - htpasswd_filename = /etc/radicale/users - htpasswd_encryption = plain - ''; + settings = { + server = { + hosts = [ + "0.0.0.0:${toString ports.radicale}" + "[::]:${toString ports.radicale}" + ]; + }; + auth = { + type = "htpasswd"; + htpasswd_filename = "/etc/radicale/users"; + htpasswd_encryption = "plain"; + }; + }; }; gmnisrv = { enable = true; |