nix-config/modules/nix/base-cli/pkgs.nix
smayzy fb8207c1c9
Some checks failed
nixos config pipeline / show-flake (push) Successful in 38s
nixos config pipeline / deploy (push) Failing after 4s
add git to base-cli-pkgs
2025-08-09 17:52:07 +02:00

35 lines
521 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
];
};
}