refactor(shell): nixify remaining shell config

This commit is contained in:
2026-09-28 20:58:46 +02:00
parent b2bd384d0e
commit 30dfcb6141
20 changed files with 155 additions and 295 deletions
+2 -18
View File
@@ -1,29 +1,13 @@
{
config,
lib,
config,
pkgs,
...
}:
{
config = lib.mkIf config.shell.enable {
programs.fzf = {
enable = true;
enableBashIntegration = lib.mkDefault true;
defaultCommand = "rg --files";
defaultOptions = [
"--pointer='❭'"
"--height 10%"
];
fileWidget = {
command = "rg --files";
options = [ "--preview 'bat {} | head -500'" ];
};
};
config = lib.mkIf config.utils.enable {
home.packages = with pkgs; [
ripgrep
bat
jq
entr
parallel