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