nyx/modules/nixos/hardware/gpu/default.nix

21 lines
316 B
Nix
Raw Permalink Normal View History

2025-01-12 17:18:13 +00:00
{lib, ...}: let
inherit (lib) mkOption types;
in {
imports = [
./amd.nix
./novideo.nix
];
options.olympus.device.gpu = mkOption {
type = types.nullOr (
types.enum [
"amd"
"nvidia"
"hybrid-nv"
]
);
default = null;
description = "GPU brand";
};
}