feat(hardware): add gpu modules for intel/amd/nvidia

This commit is contained in:
ooks-io 2024-04-08 15:04:27 +12:00
parent eb93983bfe
commit 8f229750b0
4 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
imports = [
./amd
./intel
./nvidia
];
options.systemModules.hardware.gpu.type = mkOption {
type = with types; nullOr (enum ["intel" "amd" "nvidia"]);
default = null;
description = "Type of gpu system module to use";
};
}