aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/mantis/configuration.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/hosts/mantis/configuration.nix b/hosts/mantis/configuration.nix
index fd014e4..84ea0d9 100644
--- a/hosts/mantis/configuration.nix
+++ b/hosts/mantis/configuration.nix
@@ -174,6 +174,25 @@
174 174
175 services.flaresolverr.enable = true; 175 services.flaresolverr.enable = true;
176 176
177 services.radicale = {
178 enable = true;
179 settings = {
180 server.hosts = [ "0.0.0.0:5232" ];
181 auth = {
182 type = "htpasswd";
183 htpasswd_filename = "/etc/radicale/users";
184 htpasswd_encryption = "bcrypt";
185 };
186 };
187 };
188 services.nginx.virtualHosts."radicale.mantis" = {
189 listen = [{ port = 80; addr = "0.0.0.0"; }];
190 locations."/" = {
191 proxyPass = "http://127.0.0.1:5232";
192 };
193 };
194
195
177 nix.settings.experimental-features = [ "nix-command" "flakes" ]; 196 nix.settings.experimental-features = [ "nix-command" "flakes" ];
178 197
179 # Copy the NixOS configuration file and link it from the resulting system 198 # Copy the NixOS configuration file and link it from the resulting system