2024-06-26 22:13:02 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
options.ar.hardware = {
|
2024-06-26 23:57:41 -04:00
|
|
|
enable = lib.mkEnableOption "Enable base hardware configuration.";
|
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
cpu = {
|
|
|
|
amd = lib.mkEnableOption "AMD CPU support.";
|
|
|
|
intel = lib.mkEnableOption "Intel CPU support.";
|
|
|
|
};
|
2024-06-26 23:57:41 -04:00
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
gpu = {
|
|
|
|
amd = lib.mkEnableOption "AMD GPU support.";
|
|
|
|
intel = lib.mkEnableOption "Intel GPU support.";
|
|
|
|
};
|
2024-06-26 23:57:41 -04:00
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
laptop = lib.mkEnableOption "Laptop optimizations.";
|
|
|
|
ssd = lib.mkEnableOption "SSD optimizations.";
|
2024-06-26 23:57:41 -04:00
|
|
|
sound = lib.mkEnableOption "Sound support.";
|
2024-06-26 22:13:02 -04:00
|
|
|
};
|
|
|
|
}
|