feat(hardware): add gpu modules for intel/amd/nvidia
This commit is contained in:
parent
eb93983bfe
commit
8f229750b0
4 changed files with 136 additions and 0 deletions
19
system/modules/hardware/gpu/default.nix
Normal file
19
system/modules/hardware/gpu/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue