dotfiles/home/common/utils.nix

73 lines
1.2 KiB
Nix
Raw Normal View History

2024-08-02 11:12:36 +02:00
{ pkgs, ... }:
{
home.packages = with pkgs; [
2024-08-21 10:12:03 +02:00
grc
2024-08-02 11:12:36 +02:00
dust
jless
procs
viddy
];
programs = {
bat = {
enable = true;
config = {
italic-text = "always";
paging = "auto";
style = "plain";
theme = "ansi";
};
};
bottom.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
silent = false;
config.global = {
hide_env_diff = true;
load_dotenv = true;
strict_env = true;
warn_timeout = "10s";
};
2024-08-02 11:12:36 +02:00
};
eza = {
enable = true;
enableFishIntegration = true;
};
fd.enable = true;
fzf = {
enable = true;
enableFishIntegration = true;
};
jq.enable = true;
less.enable = true;
lesspipe.enable = true;
tmux.enable = true;
ripgrep = {
enable = true;
arguments = [
2024-11-27 14:04:13 +01:00
"--glob=!**/.cache/*"
"--glob=!**/.direnv/*"
"--glob=!**/.git/*"
"--glob=!**/.jj/*"
"--glob=!**/{node_modules,.npm,dist}/*"
"--glob=!**/target/*"
"--glob=!**/result/*"
2024-08-02 11:12:36 +02:00
];
};
zoxide = {
enable = true;
enableFishIntegration = true;
options = [ "--cmd=cd" ];
};
};
}