nixcfg/hardwareModules/options.nix

27 lines
570 B
Nix
Raw Normal View History

{
config,
inputs,
lib,
pkgs,
self,
...
}: {
options.ar.hardware = {
enable = lib.mkEnableOption "Enable base hardware configuration.";
cpu = {
amd = lib.mkEnableOption "AMD CPU support.";
intel = lib.mkEnableOption "Intel CPU support.";
};
gpu = {
amd = lib.mkEnableOption "AMD GPU support.";
intel = lib.mkEnableOption "Intel GPU support.";
};
laptop = lib.mkEnableOption "Laptop optimizations.";
ssd = lib.mkEnableOption "SSD optimizations.";
sound = lib.mkEnableOption "Sound support.";
};
}