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 {
|
config = mkIf cfg.enable {
|
||||||
aa = {
|
aa = {
|
||||||
suites = {
|
suites = {
|
||||||
|
utils.enable = true;
|
||||||
desktop.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 = {
|
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
|
||||||
|
|
Loading…
Reference in a new issue