From aab76dd4132f2415308c2dcfa16ff054f5542370 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 17 Nov 2024 22:13:59 -0500 Subject: [PATCH] fix(nh): get rid of warning --- common/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/default.nix b/common/default.nix index 7810eed6..f9def960 100644 --- a/common/default.nix +++ b/common/default.nix @@ -112,8 +112,12 @@ } { - programs.bash.sessionVariables = { - FLAKE = config.environment.variables.FLAKE; + programs.bash = { + sessionVariables = rec { + FLAKE = config.environment.variables.FLAKE; + NH_FLAKE = FLAKE; + }; + shellAliases.nh = "env -u FLAKE nh"; }; }