mastus: use radicale 2
This commit is contained in:
parent
156181518d
commit
63ffa3df73
@ -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 ];
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user