nix-config/configs/nixos/radicale.nix

22 lines
334 B
Nix
Raw Normal View History

2024-07-25 22:24:11 +02:00
{
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";
};
};
};
}