mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 16:17:46 +00:00
38 lines
710 B
Nix
38 lines
710 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.zoxide = {
|
|
enable = true;
|
|
enableZshIntegration = mkIf cfg.zsh.enable true;
|
|
};
|
|
|
|
programs.dircolors = {
|
|
enable = true;
|
|
enableZshIntegration = mkIf cfg.zsh.enable true;
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
# libraries
|
|
glow
|
|
|
|
# file managing
|
|
fd
|
|
ripgrep
|
|
zoxide
|
|
trash-cli
|
|
|
|
# programs
|
|
bottom
|
|
fend
|
|
];
|
|
};
|
|
}
|