added radicale config.

This commit is contained in:
Gabe Venberg 2024-07-25 15:24:11 -05:00
parent e7ca693b77
commit 1d6c5082b4
2 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,21 @@
{
inputs,
config,
pkgs,
lib,
...
}: {
services.radicale={
enable=true;
settings={
server={
hosts=[ "0.0.0.0:5232" "[::]:5232" ];
};
auth={
type="htpasswd";
htpasswd_encryption="md5";
htpasswd_filename="${inputs.nix-secrets}/radicale-users";
};
};
};
}