mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-01-17 09:51:57 +00:00
Tweaked nushell config to allow my dotfiles to co-exist with HM settings
This commit is contained in:
Submodule home-manager/core/dotfiles updated: 936e8338c6...6531159f63
@@ -13,7 +13,7 @@
|
||||
};
|
||||
"nushell" = {
|
||||
source = ./dotfiles/dot_config/nushell;
|
||||
target = ".config/nushell";
|
||||
target = ".config/nushell/my_config";
|
||||
recursive = true;
|
||||
};
|
||||
"nvim" = {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -141,5 +141,5 @@
|
||||
};
|
||||
|
||||
# Set user config settings
|
||||
users.defaultUserShell = pkgs.nushell;
|
||||
users.defaultUserShell = unstablePkgs.nushell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user