nix-config/modules/nix/base-cli/pkgs.nix
smayzy 2dc084b0ea
All checks were successful
nix flake show / show-flake (push) Successful in 40s
mv tshark to base-cli
2025-07-21 15:35:49 +02:00

27 lines
474 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
];
};
}