Added utils suite

A common set of utils I want on my systems
This commit is contained in:
Alejandro Angulo 2023-04-02 16:17:03 -07:00
parent 55735cae6f
commit 4e302aef1c
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 34 additions and 8 deletions

View file

@ -15,6 +15,7 @@ in {
config = mkIf cfg.enable {
aa = {
suites = {
utils.enable = true;
desktop.enable = true;
};
};

View file

@ -0,0 +1,29 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.utils;
in {
options.aa.suites.utils = with lib.types; {
enable = mkEnableOption "common configuration";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bat
curl
fd
file
htop
jq
killall
ripgrep
usbutils
wget
];
};
}