Replace Radicale config with new settings option
This commit is contained in:
parent
57f5952f8a
commit
6ab24a5583
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue