mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./aliasesAbbrs.nix
|
|
];
|
|
|
|
#
|
|
# Script dependencies
|
|
#
|
|
home.packages = [ pkgs.vivid ];
|
|
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";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|