move basic cli pkgs that doesn't need extra config to a module
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user