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 = {
enable = true;
config = ''
[server]
hosts = 127.0.0.1:61865
[auth]
type = htpasswd
htpasswd_filename = /var/src/secrets/radicale/htpasswd
htpasswd_encryption = bcrypt
[storage]
filesystem_folder = /var/lib/radicale/collections
'';
settings = {
server = {
hosts = [ "127.0.0.1:61865" ];
};
auth = {
type = "htpasswd";
htpasswd_filename = "/var/src/secrets/radicale/htpasswd";
htpasswd_encryption = "bcrypt";
};
storage = {
filesystem_folder = "/var/lib/radicale/collections";
};
};
};
services.nginx.virtualHosts."dav.clerie.de" = {