radicale (untested)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-12-27 12:56:33 +01:00
parent aa58ca79bb
commit 447e6edd56
2 changed files with 23 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
{ config, domain, ... }:
{
sops.secrets = {
"nx2site/radicale-htpasswd" = {};
};
services = {
radicale = {
server.hosts = let
port = builtins.toString 5232;
in [ "192.168.178.32:${port}" ];
auth = {
type = "htpasswd";
htpasswd_filename = config.sops.secrets."nx2site/radicale-htpasswd".path;
htpasswd_encryption = "bcrypt";
};
};
};
}