30 lines
406 B
Nix
30 lines
406 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
}
|