Tweaked nushell config to allow my dotfiles to co-exist with HM settings

This commit is contained in:
2026-01-13 12:32:27 +00:00
parent 4b56d75dd6
commit 8126c81e97
4 changed files with 21 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
};
"nushell" = {
source = ./dotfiles/dot_config/nushell;
target = ".config/nushell";
target = ".config/nushell/my_config";
recursive = true;
};
"nvim" = {

View File

@@ -12,6 +12,24 @@
];
programs = {
home-manager.enable = true;
nushell = let
pkgStream = unstablePkgs;
in {
enable = true;
package = pkgStream.nushell;
plugins = with pkgStream.nushellPlugins; [
formats
gstat
polars
query
];
extraConfig = ''
source ~/.config/nushell/my_config/config.nu
'';
extraEnv = ''
source ~/.config/nushell/my_config/env.nu
'';
};
git.enable = true;
};
}

View File

@@ -141,5 +141,5 @@
};
# Set user config settings
users.defaultUserShell = pkgs.nushell;
users.defaultUserShell = unstablePkgs.nushell;
}