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 { config = mkIf cfg.enable {
aa = { aa = {
suites = { suites = {
utils.enable = true;
desktop.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
];
};
}

View file

@ -15,7 +15,10 @@
aa = { aa = {
nix.enable = true; nix.enable = true;
suites.desktop.enable = true; archetypes = {
workstation.enable = true;
};
suites.gaming.enable = true; suites.gaming.enable = true;
tools.git.enable = true; tools.git.enable = true;
@ -56,9 +59,6 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget
killall
usbutils
pavucontrol pavucontrol
cachix cachix
nixos-generators nixos-generators
@ -75,11 +75,7 @@
prusa-slicer prusa-slicer
esptool esptool
minicom minicom
file
signal-desktop signal-desktop
ripgrep
bat
htop
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default