oizys/modules/cli.nix

29 lines
353 B
Nix
Raw Normal View History

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