Migrate radicale config to attribute set
This commit is contained in:
parent
5919287792
commit
6df7ca5da6
@ -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" = {
|
||||
|
Loading…
Reference in New Issue
Block a user