Added utils suite
A common set of utils I want on my systems
This commit is contained in:
parent
55735cae6f
commit
4e302aef1c
|
@ -15,6 +15,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
aa = {
|
||||
suites = {
|
||||
utils.enable = true;
|
||||
desktop.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
29
modules/suites/utils/default.nix
Normal file
29
modules/suites/utils/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -15,7 +15,10 @@
|
|||
aa = {
|
||||
nix.enable = true;
|
||||
|
||||
suites.desktop.enable = true;
|
||||
archetypes = {
|
||||
workstation.enable = true;
|
||||
};
|
||||
|
||||
suites.gaming.enable = true;
|
||||
|
||||
tools.git.enable = true;
|
||||
|
@ -56,9 +59,6 @@
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
killall
|
||||
usbutils
|
||||
pavucontrol
|
||||
cachix
|
||||
nixos-generators
|
||||
|
@ -75,11 +75,7 @@
|
|||
prusa-slicer
|
||||
esptool
|
||||
minicom
|
||||
file
|
||||
signal-desktop
|
||||
ripgrep
|
||||
bat
|
||||
htop
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
Loading…
Reference in a new issue