23 lines
No EOL
337 B
Nix
23 lines
No EOL
337 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
cfg = config.coreAll;
|
|
in {
|
|
options.coreAll = {
|
|
enable = mkEnableOption "Base system utils";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
btop
|
|
git
|
|
wget
|
|
];
|
|
};
|
|
} |