mirror of
https://github.com/blahai/nyx.git
synced 2025-06-16 17:07:01 -04:00
Hardware stuffies
This commit is contained in:
parent
63eac33d05
commit
5edcb857af
9 changed files with 184 additions and 0 deletions
20
modules/nixos/hardware/gpu/default.nix
Normal file
20
modules/nixos/hardware/gpu/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue