oizys/modules/development/cli.nix

39 lines
501 B
Nix
Raw Normal View History

2024-01-23 19:13:42 -06:00
{
2024-03-18 17:20:18 -05:00
inputs,
2024-01-23 19:13:42 -06:00
pkgs,
2024-03-18 17:20:18 -05:00
config,
2024-05-22 10:32:47 -05:00
enabled,
2024-03-21 15:59:10 -05:00
mkDefaultOizysModule,
2024-01-23 19:13:42 -06:00
...
2024-03-21 15:59:10 -05:00
}:
mkDefaultOizysModule config "cli" {
2024-01-29 08:45:23 -06:00
2024-05-22 10:32:47 -05:00
programs.direnv = enabled;
2024-01-23 15:50:42 -06:00
2024-05-22 10:32:47 -05:00
environment.etc = {
"direnv/direnv.toml".text = ''
[global]
hide_env_diff=true
'';
};
2024-01-23 15:50:42 -06:00
2024-05-22 10:32:47 -05:00
environment.systemPackages =
(with pkgs; [
chezmoi
zoxide
lsd
fzf
eza
# utils
fd
bat
delta
ripgrep
glow
btop
])
++ [ inputs.tsm.packages.${pkgs.system}.tsm ];
2024-03-21 15:59:10 -05:00
}