nixos/home/env/fish.nix

25 lines
672 B
Nix

{pkgs, ...}: {
programs.fish = {
enable = true;
shellAbbrs = {
lg = "lazygit";
nixos-update = "sudo git -C /etc/nixos/config pull && sudo nixos-rebuild switch";
};
plugins = [
{
name = "tokyonight";
src =
pkgs.fetchFromGitHub {
owner = "folke";
repo = "tokyonight.nvim";
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
}
+ "/extras/fish/tokyonight_storm.fish";
}
];
};
programs.keychain.enableFishIntegration = true;
programs.starship.enableFishIntegration = true;
}