about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
authorAlan Pearce2025-01-20 10:24:23 +0100
committerAlan Pearce2025-01-20 10:24:23 +0100
commit584d295c25697c19ffd369d22281f7d53a139f18 (patch)
treebb9ba3f2bd925fad9310cde33ed37faa07dacd61 /nix
parent19d8046f99d9f395f8529886f37292d99dc1a4d9 (diff)
downloadsearchix-584d295c25697c19ffd369d22281f7d53a139f18.tar.lz
searchix-584d295c25697c19ffd369d22281f7d53a139f18.tar.zst
searchix-584d295c25697c19ffd369d22281f7d53a139f18.zip
feat: allow HTTP request logging to be disabled
Diffstat (limited to 'nix')
-rw-r--r--nix/modules/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index b3a0211..fdd2977 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -130,6 +130,12 @@ in
                   default = "";
                 };
 
+                logRequests = mkOption {
+                  type = types.bool;
+                  description = "Whether to log HTTP requests";
+                  default = false;
+                };
+
                 contentSecurityPolicy = mkOption {
                   type = types.submodule {
                     freeformType = settingsFormat.type;