From b027a1992e6707cec32e5ba85bfab7789321df7d Mon Sep 17 00:00:00 2001 From: Vika Date: Fri, 6 Aug 2021 07:27:43 +0300 Subject: Added RUST_LOG variable to NixOS module --- flake.nix | 1 + 1 file changed, 1 insertion(+) 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 = '' -- cgit 1.4.1