nixos-config/nixos/packages/terminal_tools.nix

79 lines
1.4 KiB
Nix

{
pkgs,
lib,
config,
...
}: {
options = {
terminal_tools.enable =
lib.mkEnableOption "enable terminal tools module";
};
imports = [
./tools/oh-my-posh.nix
];
config = lib.mkIf config.terminal_tools.enable {
shell.bash.enable = lib.mkDefault true;
shell.bash.oh-my-posh.enable = lib.mkDefault true;
programs = {
bat.enable = true;
btop.enable = true;
fzf.enable = true;
tmux.enable = true;
};
stylix.targets = {
bat.enable = true;
btop.enable = true;
fzf.enable = true;
neovim.enable = true;
tmux.enable = true;
spicetify.enable = true;
};
programs.zoxide = {
enable = true;
enableBashIntegration = true;
};
programs.kitty = {
enable = true;
font.name = lib.mkDefault "JetBrainsMono Nerd Font";
#themeFile = "tokyo_night_night";
#themeFile = "Catppuccin-Mocha";
settings = {
font_size = 11.5;
confirm_os_window_close = 0;
hide_window_decorations = 0;
enable_audio_bell = false;
window_padding_width = 25;
};
};
home.packages = with pkgs; [
pfetch
zoxide
bat
btop
cmatrix
entr
figlet
jp2a
yt-dlp
eza
nvtopPackages.full
neofetch
wget
curl
fzf
tldr
ranger
spicetify-cli
unzip
];
};
}