nix-config/modules/nix/base-cli/pkgs.nix
smayzy 99accbec6b
Some checks failed
nixos config pipeline / show-flake (push) Successful in 38s
nixos config pipeline / deploy (push) Has been cancelled
add nfs-utils to base-cli/pkgs
2025-10-27 19:14:34 +01:00

41 lines
634 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
efibootmgr
nfs-utils
agenix.packages.${system}.default
];
};
}