nix-config/modules/nix/base-cli/pkgs.nix
smayzy 858a4a1bf1
All checks were successful
nixos config pipeline / show-flake (push) Successful in 32s
nixos config pipeline / deploy (push) Successful in 35s
add unzip to base-cli-pkgs
2025-08-12 18:16:10 +02:00

36 lines
533 B
Nix

{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.base-cli-pkgs.enable = mkOption {
type = types.bool;
default = false;
description = "install base cli pkgs that doesn't need extra config";
};
config = mkIf config.smayzy.base-cli-pkgs.enable {
environment.systemPackages = with pkgs; [
wget
tldr
tree
dig
btop
file
vim
fastfetch
lf
tshark
nixfmt
usbutils
git
unzip
];
};
}