Add nushell for testing.
This commit is contained in:
parent
bc69e5c902
commit
e5ee82f223
@ -27,6 +27,7 @@
|
|||||||
./modules/helix.nix
|
./modules/helix.nix
|
||||||
./modules/tofi.nix
|
./modules/tofi.nix
|
||||||
./modules/vkbasalt.nix
|
./modules/vkbasalt.nix
|
||||||
|
./modules/nushell.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# My packages
|
# My packages
|
||||||
|
4
home-manager/modules/confs/nushell/config.nu
Normal file
4
home-manager/modules/confs/nushell/config.nu
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
$env.config = {
|
||||||
|
show_banner: false,
|
||||||
|
edit_mode: vi,
|
||||||
|
}
|
23
home-manager/modules/nushell.nix
Normal file
23
home-manager/modules/nushell.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
programs.nushell = {
|
||||||
|
enable = true;
|
||||||
|
configFile.source = ./confs/nushell/config.nu;
|
||||||
|
extraConfig = ''
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/aliases/git/git-aliases.nu *
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/git/git-completions.nu *
|
||||||
|
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/catppuccin-mocha.nu
|
||||||
|
|
||||||
|
$env.config.color_config = (catppuccin-mocha)
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.direnv.enableNushellIntegration = true;
|
||||||
|
|
||||||
|
programs.eza.enableNushellIntegration = true;
|
||||||
|
|
||||||
|
programs.starship.enableNushellIntegration = true;
|
||||||
|
|
||||||
|
programs.zoxide.enableNushellIntegration = true;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user