mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
23 lines
444 B
Nix
23 lines
444 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.aviallon.hardware;
|
|
desktopCfg = config.aviallon.desktop;
|
|
in
|
|
{
|
|
options.aviallon.hardware = {
|
|
gpuVendor = mkOption {
|
|
default = null;
|
|
example = "amd";
|
|
description = "Enable GPU vendor specific options";
|
|
type = types.enum [ "amd" "nvidia" "intel" ];
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./hardware/amd.nix
|
|
./hardware/nvidia.nix
|
|
./hardware/intel.nix
|
|
];
|
|
|
|
}
|