Add gpu settings

This commit is contained in:
ItsDrike 2024-05-15 20:29:28 +02:00
parent 53771e1547
commit 163eafb8f0
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
6 changed files with 136 additions and 0 deletions

View file

@ -14,6 +14,16 @@ in
'';
};
gpu.type = mkOption {
type = with types; nullOr (enum [ "nvidia" "amd" "intel" ]);
default = null;
description = ''
The manifaturer/type of the primary system GPU.
Allows the correct GPU drivers to be loaded, potentially optimizing video output performance.
'';
};
hasTPM = mkOption {
type = lib.types.bool;
default = false;