diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-02-02 13:37:54 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-02-02 13:37:54 -0700 |
| commit | e776c8fb5aed61d0f5f27a87c9c419dc07a13480 (patch) | |
| tree | bce36bc077042d60c0cc162205440df6b783acdf /modules/home-manager/shell.nix | |
| parent | 930ed23a02259a35c404f2fef0ab61ca620a0e4b (diff) | |
| parent | 60568d28f263c74847f06ec6bc4c8ba7f7125dce (diff) | |
merge
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)}) ''; }; } |
