Nix-Config/system/shared/services/radicale.nix

22 lines
417 B
Nix
Raw Normal View History

2023-09-27 18:40:04 +00:00
{ config, pkgs, inputs, ... }:
{
services.radicale = {
enable = true;
settings = {
server = {
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
};
auth = {
type = "htpasswd";
htpasswd_filename = "/var/lib/radicale/users";
htpasswd_encryption = "bcrypt";
};
storage = {
filesystem_folder = "/var/lib/radicale/collections";
};
};
};
}