{ 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.${stdenv.hostPlatform.system}.default ]; }; }