summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorvin <vin@vineetk.net>2025-03-02 14:51:09 -0500
committervin <vin@vineetk.net>2025-03-02 14:51:09 -0500
commitdc694bf08c5acb31e4ab03fc81d9ebd2d7420739 (patch)
tree1e7b7544f718df9968f082ef2a97996de0dce0fa /hosts
parent153f67f71669127f73291bce0ef0774b25766307 (diff)
saklas: enable radicale
Diffstat (limited to 'hosts')
-rw-r--r--hosts/saklas/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/hosts/saklas/default.nix b/hosts/saklas/default.nix
index d83dc8e..170e1be 100644
--- a/hosts/saklas/default.nix
+++ b/hosts/saklas/default.nix
@@ -126,6 +126,17 @@
126 }; 126 };
127 }; 127 };
128 128
129 "radicale.vineetk.net" = {
130 useACMEHost = "vineetk.net";
131 forceSSL = true;
132 locations."/" = {
133 proxyPass = "http://127.0.0.1:5232/";
134 extraConfig = ''
135 proxy_pass_header Authorization;
136 '';
137 };
138 };
139
129 "vinbiz.ca" = { 140 "vinbiz.ca" = {
130 enableACME = true; 141 enableACME = true;
131 forceSSL = true; 142 forceSSL = true;
@@ -146,6 +157,19 @@
146 }; 157 };
147 }; 158 };
148 159
160 # CalDAV and CardDAV
161 radicale = {
162 enable = true;
163 settings = {
164 server.hosts = [ "127.0.0.1:5232" ];
165 auth = {
166 type = "htpasswd";
167 htpasswd_filename = "/etc/radicale/users";
168 htpasswd_encryption = "bcrypt";
169 };
170 };
171 };
172
149 # SSH 173 # SSH
150 # first use tarpit 174 # first use tarpit
151 endlessh = { 175 endlessh = {