nix-config/hosts/Anton/radicale.nix

22 lines
401 B
Nix
Raw Normal View History

2024-09-19 17:12:09 +02:00
{ ... }:
2024-07-31 17:32:56 +02:00
{
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";
};
};
};
}