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