diff --git a/mastus/radicale.nix b/mastus/radicale.nix index c6d8761..13d4304 100644 --- a/mastus/radicale.nix +++ b/mastus/radicale.nix @@ -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 ]; + }