fix: unable to set log level from nixos module
1 file changed, 4 insertions(+), 1 deletion(-)
changed files
M nix/modules/default.nix → nix/modules/default.nix
@@ -248,7 +248,10 @@ { description = "Searchix Nix option search"; wantedBy = [ "multi-user.target" ]; path = with pkgs; [ nix ]; - inherit (cfg) environment; + environment = { + LOG_LEVEL = cfg.settings.logLevel; + } + // cfg.environment; serviceConfig = defaultServiceConfig // {