flake/modules/home/terminal/tools.nix
2024-06-20 11:23:06 +00:00

50 lines
962 B
Nix

{ pkgs, lib, config, ... }:
let
cfg = config.mods.terminal;
in with lib; {
options.mods.terminal.tools.enable = mkEnableOption "enables cli tools";
config = mkIf cfg.tools.enable {
programs.zellij = {
enable = true;
# enableZshIntegration = mkIf cfg.zsh.enable true;
};
programs.fzf = {
enable = true;
enableZshIntegration = mkIf cfg.zsh.enable true;
};
programs.zoxide = {
enable = true;
enableZshIntegration = mkIf cfg.zsh.enable true;
};
programs.dircolors = {
enable = true;
enableZshIntegration = mkIf cfg.zsh.enable true;
};
programs.yazi = {
enable = true;
enableZshIntegration = mkIf cfg.zsh.enable true;
};
programs.lazygit.enable = true;
home.packages = with pkgs; [
# libraries
glow
ueberzugpp
# file managing
fd
ripgrep
trash-cli
# programs
bottom
fend
];
};
}