ooknet/inputs/system/modules/base/host/hardware/gpu/default.nix

19 lines
328 B
Nix

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