22 lines
407 B
Nix
22 lines
407 B
Nix
|
{ 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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|