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
services.radicale = {
enable = true;
config = ''
[server]
hosts = 127.0.0.1:5232
[auth]
type = htpasswd
htpasswd_filename = /vault/radicale/users
htpasswd_encryption = md5
delay = 1
[storage]
filesystem_folder = /vault/radicale/collections
'';
settings = {
server.hosts = [ "127.0.0.1:5232" ];
auth = {
type = "htpasswd";
htpasswd_filename = "/vault/radicale/users";
htpasswd_encryption = "md5";
delay = 1;
};
storage.filesystem_folder = "/vault/radicale/collections";
};
};
# ZFS automatic snapshots