all repos — searchix @ 6d42ad10e483590d1dbb7ceacae8f6dd11f0d1df

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: unable to set log level from nixos module

Alan Pearce
commit

6d42ad10e483590d1dbb7ceacae8f6dd11f0d1df

parent

5c1454971ad761d7ee56a4d9a8b33f1e789dc9e3

1 file changed, 4 insertions(+), 1 deletion(-)

changed files
M nix/modules/default.nixnix/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 // {