mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-10 13:03:15 -06:00
32 lines
483 B
Nix
32 lines
483 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.sessionVariables = {
|
||
DIRENV_LOG_FORMAT = "[2mdirenv: %s[0m";
|
||
};
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
chezmoi
|
||
zoxide
|
||
lsd
|
||
fzf
|
||
|
||
# utils
|
||
fd
|
||
bat
|
||
delta
|
||
ripgrep
|
||
|
||
btop
|
||
];
|
||
};
|
||
}
|