mastus: use radicale 2

This commit is contained in:
Gabriel Ebner 2019-08-26 18:06:21 +02:00
parent 156181518d
commit 63ffa3df73
1 changed files with 6 additions and 2 deletions

View File

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