oizys/modules/cli.nix
2024-01-23 15:50:42 -06:00

28 lines
353 B
Nix

{config, lib,pkgs,...}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.cli;
in
{
options.cli.enable = mkEnableOption "cli";
config = mkIf cfg.enable {
programs.direnv.enable = true;
environment.systemPackages = with pkgs; [
chezmoi
zoxide
lsd
fzf
# utils
fd
bat
delta
ripgrep
btop
];
};
}