commit dc694bf08c5acb31e4ab03fc81d9ebd2d7420739 parent 153f67f71669127f73291bce0ef0774b25766307 Author: vin <vin@vineetk.net> Date: Sun, 2 Mar 2025 14:51:09 -0500 saklas: enable radicale Diffstat:
| M | hosts/saklas/default.nix | | | 24 | ++++++++++++++++++++++++ |
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/hosts/saklas/default.nix b/hosts/saklas/default.nix @@ -126,6 +126,17 @@ }; }; + "radicale.vineetk.net" = { + useACMEHost = "vineetk.net"; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:5232/"; + extraConfig = '' + proxy_pass_header Authorization; + ''; + }; + }; + "vinbiz.ca" = { enableACME = true; forceSSL = true; @@ -146,6 +157,19 @@ }; }; + # CalDAV and CardDAV + radicale = { + enable = true; + settings = { + server.hosts = [ "127.0.0.1:5232" ]; + auth = { + type = "htpasswd"; + htpasswd_filename = "/etc/radicale/users"; + htpasswd_encryption = "bcrypt"; + }; + }; + }; + # SSH # first use tarpit endlessh = {