flake/programs/fish.nix
2024-01-10 18:23:27 +01:00

20 lines
352 B
Nix

{
pkgs,
lib,
...
}: {
programs.fish.enable = true;
environment.systemPackages = with pkgs; [nix-your-shell];
hm.programs.fish = {
enable = true;
interactiveShellInit = with pkgs; ''
${lib.getExe starship} init fish | source
${lib.getExe nix-your-shell} fish | source
'';
functions.fish_greeting = "";
};
}