move basic cli pkgs that doesn't need extra config to a module

This commit is contained in:
smayzy
2025-07-08 23:16:58 +02:00
parent b902e9137e
commit 3b1d577018
4 changed files with 25 additions and 8 deletions
+23
View File
@@ -0,0 +1,23 @@
{ 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
];
};
}