Replace Radicale config with new settings option

This commit is contained in:
coolneng 2021-05-17 09:56:44 +02:00
parent 57f5952f8a
commit 6ab24a5583
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 10 additions and 13 deletions

View File

@ -69,19 +69,16 @@
# Enable Radicale # Enable Radicale
services.radicale = { services.radicale = {
enable = true; enable = true;
config = '' settings = {
[server] server.hosts = [ "127.0.0.1:5232" ];
hosts = 127.0.0.1:5232 auth = {
type = "htpasswd";
[auth] htpasswd_filename = "/vault/radicale/users";
type = htpasswd htpasswd_encryption = "md5";
htpasswd_filename = /vault/radicale/users delay = 1;
htpasswd_encryption = md5 };
delay = 1 storage.filesystem_folder = "/vault/radicale/collections";
};
[storage]
filesystem_folder = /vault/radicale/collections
'';
}; };
# ZFS automatic snapshots # ZFS automatic snapshots