about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-08-06 07:27:43 +0300
committerVika <vika@fireburn.ru>2021-08-06 07:27:43 +0300
commitb027a1992e6707cec32e5ba85bfab7789321df7d (patch)
treec707d88af6722561fe906135890f51914b4f6cd8
parenta2c37d319b22849fce034ed6658fe1f13c8737cf (diff)
downloadkittybox-b027a1992e6707cec32e5ba85bfab7789321df7d.tar.zst
Added RUST_LOG variable to NixOS module
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index a3d8c34..c2d3b30 100644
--- a/flake.nix
+++ b/flake.nix
@@ -138,6 +138,7 @@
             MICROSUB_ENDPOINT = cfg.microsubServer;
             WEBMENTION_ENDPOINT = cfg.webmentionEndpoint;
             REDIS_URI = if (cfg.redisUri == null) then "redis://127.0.0.1:6379/" else cfg.redisUri;
+            RUST_LOG = "${cfg.logLevel}";
           };
 
           script = ''