nixos/home/env/fish.nix

25 lines
672 B
Nix
Raw Normal View History

{pkgs, ...}: {
2023-03-29 15:59:39 +01:00
programs.fish = {
enable = true;
shellAbbrs = {
lg = "lazygit";
2023-05-16 15:59:49 +01:00
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";
}
];
2023-03-29 15:59:39 +01:00
};
programs.keychain.enableFishIntegration = true;
programs.starship.enableFishIntegration = true;
}