oizys/modules/cli.nix

29 lines
390 B
Nix
Raw Normal View History

2024-01-23 19:13:42 -06:00
{
config,
lib,
pkgs,
...
}: let
2024-01-23 15:50:42 -06:00
inherit (lib) mkEnableOption mkIf;
cfg = config.cli;
2024-01-23 19:13:42 -06:00
in {
2024-01-23 15:50:42 -06:00
options.cli.enable = mkEnableOption "cli";
config = mkIf cfg.enable {
2024-01-23 19:13:42 -06:00
programs.direnv.enable = true;
environment.systemPackages = with pkgs; [
chezmoi
zoxide
lsd
fzf
2024-01-23 15:50:42 -06:00
2024-01-23 19:13:42 -06:00
# utils
fd
bat
delta
ripgrep
2024-01-23 15:50:42 -06:00
2024-01-23 19:13:42 -06:00
btop
];
};
2024-01-23 11:51:13 -06:00
}