nix-config/modules/nix/base-cli/pkgs.nix
smayzy 7ed89d05ed
All checks were successful
nixos config pipeline / show-flake (push) Successful in 30s
nixos config pipeline / deploy (push) Successful in 1m8s
add nixfmt-tree to base-cli-pkgs
2025-08-24 22:28:14 +02:00

39 lines
601 B
Nix

{
config,
lib,
pkgs,
agenix,
...
}:
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
nixfmt-tree
agenix.packages.${system}.default
];
};
}