1
0

Migrate radicale config to attribute set

This commit is contained in:
clerie 2021-12-12 17:30:08 +01:00
parent 5919287792
commit 6df7ca5da6

View File

@ -3,18 +3,19 @@
{ {
services.radicale = { services.radicale = {
enable = true; enable = true;
config = '' settings = {
[server] server = {
hosts = 127.0.0.1:61865 hosts = [ "127.0.0.1:61865" ];
};
[auth] auth = {
type = htpasswd type = "htpasswd";
htpasswd_filename = /var/src/secrets/radicale/htpasswd htpasswd_filename = "/var/src/secrets/radicale/htpasswd";
htpasswd_encryption = bcrypt htpasswd_encryption = "bcrypt";
};
[storage] storage = {
filesystem_folder = /var/lib/radicale/collections filesystem_folder = "/var/lib/radicale/collections";
''; };
};
}; };
services.nginx.virtualHosts."dav.clerie.de" = { services.nginx.virtualHosts."dav.clerie.de" = {