diff options
Diffstat (limited to 'modules/home-manager/shell.nix')
| -rw-r--r-- | modules/home-manager/shell.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index cd35607..685cda1 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -1,4 +1,6 @@ -{nushell-scripts, ... }: { +{inputs, ... }: let + nushell-scripts = inputs.nushell-scripts; +in { programs.nushell = { enable = true; shellAliases = { @@ -13,6 +15,7 @@ # egpu = "(DRI_PRIME=pci-0000_05_00_0 glxinfo | grep 'OpenGL renderer')"; # checkgpu = "(lspci | grep VGA)"; cat = "bat -f # --paging never"; + search = "nix search nixpkgs#"; }; configFile.source = ../../resources/nushell/config.nu; extraConfig = '' @@ -24,6 +27,8 @@ source ${nushell-scripts}/custom-completions/cargo/cargo-completions.nu source ${nushell-scripts}/custom-completions/make/make-completions.nu source ${nushell-scripts}/custom-completions/git/git-completions.nu + use ${nushell-scripts}/themes/nu-themes/catppuccin-mocha.nu + $env.config = ($env.config | merge {color_config: (catppuccin-mocha)}) ''; }; } |
