mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
28 lines
390 B
Nix
28 lines
390 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
|
|
];
|
|
};
|
|
}
|