config.nix/modules/apps/terminal/base-packages.nix

38 lines
553 B
Nix

{
config,
pkgs,
inputs,
lib,
...
}:
{
options = {
apps.terminal.toys = lib.mkEnableOption "enable terminal toys";
};
config = {
environment.systemPackages =
with pkgs;
[
unzip
btop
bc
openssl
]
++ (
if config.apps.terminal.toys then
[
asciiquarium-transparent
cava
bunnyfetch
nerdfetch
fastfetch
cmatrix
astroterm
]
else
[ ]
);
};
}