mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 11:49:17 -05:00
27 lines
570 B
Nix
27 lines
570 B
Nix
{
|
|
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.";
|
|
};
|
|
}
|