added radicale

This commit is contained in:
willifan 2024-07-31 17:32:56 +02:00
parent e362c39a63
commit 79022428c3
3 changed files with 30 additions and 8 deletions

21
hosts/Anton/radicale.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
services.radicale = {
enable = true;
settings = {
server = {
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
};
auth = {
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_encryption = "bcrypt";
};
storage = {
filesystem_folder = "/mnt/data/services/radicale/collections";
};
};
};
}