commit f324f9045fd0dbfed6740157b210a1409c3d866e
parent 4f3e47fed47984aacbeddf5567f37bb92e4d70f6
Author: Toni Brown <me@tb148.net>
Date: Sat, 21 Mar 2026 13:21:38 +0800
move environment variables back to shell config
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/config.nu b/config.nu
@@ -20,6 +20,8 @@ $env.config.completions.external = {
$env.TRANSIENT_PROMPT_COMMAND = ^starship module character
$env.TRANSIENT_PROMPT_MULTILINE_INDICATOR = " "
+$env.EDITOR = "hx";
+$env.SHELL = "nu";
$env.UID = $'(id -u)'
alias zed = zeditor
alias zn = zeditor -n
diff --git a/home.nix b/home.nix
@@ -16,11 +16,6 @@
home.file.".face.icon".source = ./avatar.png;
home.file."${config.xdg.userDirs.pictures}/wallpaper.png".source = ./wallpaper.png;
- home.sessionVariables = {
- EDITOR = "hx";
- SHELL = "nu";
- };
-
xdg.userDirs = {
enable = true;
createDirectories = true;