19 lines
296 B
Nix
19 lines
296 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkOption types;
|
|
in {
|
|
imports = [
|
|
./amd.nix
|
|
./novideo.nix
|
|
];
|
|
|
|
options.olympus.device.gpu = mkOption {
|
|
type = types.nullOr (
|
|
types.enum [
|
|
"amd"
|
|
"nvidia"
|
|
]
|
|
);
|
|
default = null;
|
|
description = "GPU brand";
|
|
};
|
|
}
|