mastus: use radicale 2

This commit is contained in:
Gabriel Ebner 2019-08-26 18:06:21 +02:00
parent 156181518d
commit 63ffa3df73

@ -5,6 +5,7 @@ in
{ {
services.radicale = { services.radicale = {
enable = true; enable = true;
package = pkgs.radicale2;
config = '' config = ''
[server] [server]
hosts = 127.0.0.1:${toString radicalePort} hosts = 127.0.0.1:${toString radicalePort}
@ -12,10 +13,11 @@ in
dns_lookup = false dns_lookup = false
[storage] [storage]
filesystem_folder = /var/lib/radicale/storage filesystem_folder = /var/lib/radicale/collections
[auth] [auth]
type = IMAP type = htpasswd
htpasswd_filename = /var/lib/radicale/htpasswd
[rights] [rights]
type = owner_only type = owner_only
@ -35,4 +37,6 @@ in
}; };
}; };
environment.systemPackages = with pkgs; [ apacheHttpd ];
} }