nushell: move to modules/home

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a6964b332aee4de78ddbba4d16b55f6783485
This commit is contained in:
Bloxx12 2025-07-21 00:05:24 +02:00
commit 8c3ff343b0
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
10 changed files with 183 additions and 128 deletions

View file

@ -0,0 +1,22 @@
{
pkgs,
...
}:
{
packages = with pkgs; [
nushell
inshellisense
carapace
];
environment.sessionVariables = {
CARAPACE_BRIDGES = "inshellisense,carapace,clap,bash";
CARAPACE_MATCH = 1;
};
files = {
".config/nushell/config.nu".source = ./config.nu;
".config/nushell/prompt.nu".source = ./prompt.nu;
".config/nushell/zoxide.nu".source = ./zoxide.nu;
};
}