nixos/modules/base/fish.nix
Casper V. Kristensen 7536e3a2b1 Base
2023-08-01 15:35:59 +02:00

21 lines
471 B
Nix

{ pkgs, ... }: {
# https://nixos.wiki/wiki/Fish
# https://nixos.wiki/wiki/Command_Shell
environment.systemPackages = with pkgs; [
fishPlugins.colored-man-pages
fishPlugins.fzf-fish
fishPlugins.puffer
fishPlugins.pure
];
programs.fish = {
enable = true;
interactiveShellInit = ''
fzf_configure_bindings --directory=\cf --git_log=\cg
'';
};
users.defaultUserShell = pkgs.fish;
environment.shells = with pkgs; [ fish ];
}