diff options
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; |