diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-26 17:42:10 +0000 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-26 17:42:10 +0000 |
| commit | 053d4ebb58ea9a9d0e3ee98c14f1f5c375f57556 (patch) | |
| tree | e1ee576269532ca638d9d7d90c0b216d63cf9edc /modules/home-manager/shell.nix | |
| parent | e4801c21871f82a8a427b6657d87ecb9a9202c13 (diff) | |
| parent | fb96c957c3b0d1226d965195ab637f1be6250618 (diff) | |
merging zenbook branch to bosco
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)}) ''; }; } |
