diff options
Diffstat (limited to 'modules/home/shell.nix')
| -rw-r--r-- | modules/home/shell.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/home/shell.nix b/modules/home/shell.nix new file mode 100644 index 0000000..5aa3a54 --- /dev/null +++ b/modules/home/shell.nix @@ -0,0 +1,34 @@ +{ pkgs, ... }: + +let + fishPlugin = p: { + inherit (p) src; + name = p.pname; + }; +in +{ + programs = { + fish = { + enable = true; + interactiveShellInit = '' + set fish_greeting + ''; + plugins = with pkgs.fishPlugins; [ + (fishPlugin sponge) + (fishPlugin colored-man-pages) + ]; + }; + + zoxide = { + enable = true; + enableFishIntegration = true; + }; + starship = { + enable = true; + enableFishIntegration = true; + }; + direnv = { + enable = true; + }; + }; +} |
