nixos-config/home/fish.nix

14 lines
317 B
Nix

{ pkgs, ... }: {
programs.fish = {
enable = true;
interactiveShellInit = "set -g -x GPG_TTY (tty)";
shellAliases = {
cat = "bat";
ls = "eza";
cp = "cp --reflink=auto --sparse=always";
nix-fish = "nix-shell --command fish";
};
};
home.packages = with pkgs; [ bat eza ];
}