alqueva/hosts/shared/fish.nix
2024-11-30 15:18:36 +00:00

37 lines
641 B
Nix

{
config,
pkgs,
lib,
...
}: let
cfg = config.alqueva.fish;
in {
options.alqueva.fish = {
enable = lib.mkEnableOption "fish";
};
config = lib.mkIf cfg.enable {
programs = {
fish = {
vendor = {
functions.enable = true;
config.enable = true;
completions.enable = true;
};
enable = true;
};
starship = {
enable = true;
presets = ["no-nerd-font"];
};
};
environment.systemPackages = builtins.attrValues {
inherit
(pkgs.fishPlugins)
fzf-fish
forgit
autopair
;
};
};
}