From 4a90dba591e9b1f092b3090af3b736a4aca6d609 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 19 Jul 2025 20:07:33 +0300 Subject: [PATCH] nushell: set variablesMap properly --- modules/common/nushell/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/common/nushell/default.nix b/modules/common/nushell/default.nix index 5664e06..a3fb279 100644 --- a/modules/common/nushell/default.nix +++ b/modules/common/nushell/default.nix @@ -85,6 +85,10 @@ in { homeVariablesExtra = pkgs.runCommand "home-variables-extra.env" {} '' bash -ic ' + ${variablesMap + |> mapAttrsToList (name: value: "export ${name}='${value}'") + |> concatStringsSep "\n"} + alias export=echo source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh ' > $out