.files/nix/homeModules/common/fish/default.nix
Léana 江 0c1f72b6e2
Use milou theme
nvim: use milou theme

starship: update to milou scheme

fish: update to milou scheme

kitty: update to milou theme

starship: increase contrast in git modules

fzf: update to milou theme

nvim/lazy: update milou theme

fish/fzf.fish: use patdiff
2025-10-28 10:56:20 +08:00

57 lines
1.1 KiB
Nix

{
lib,
pkgs,
...
}: {
imports = [
./aliasesAbbrs.nix
];
#
# Script dependencies
#
home.packages = [pkgs.vivid pkgs.patdiff];
programs = {
fd.enable = true;
fzf.enable = true;
};
#
# Integration
#
home.shell.enableFishIntegration = true;
#
# Scripts and functions
#
xdg.configFile =
lib.mapAttrs'
(path: _:
lib.nameValuePair "fish/functions/${path}" {source = "${./functions}/${path}";})
(builtins.readDir ./functions);
programs.fish = {
interactiveShellInit = builtins.readFile ./shellInit.fish;
plugins = [
{
name = "fzf-fish";
src = pkgs.fetchFromGitHub {
owner = "PatrickF1";
repo = "fzf.fish";
rev = "v10.3";
hash = "sha256-T8KYLA/r/gOKvAivKRoeqIwE2pINlxFQtZJHpOy9GMM=";
};
}
{
name = "sponge";
src = pkgs.fetchFromGitHub {
owner = "meaningful-ooo";
repo = "sponge";
sha256 = "sha256-MdcZUDRtNJdiyo2l9o5ma7nAX84xEJbGFhAVhK+Zm1w=";
rev = "1.1.0";
};
}
];
};
}