[Hardware/Nvidia/Opensource] silence warning by using types.str instead of types.string

This commit is contained in:
Antoine Viallon 2024-02-24 19:37:52 +01:00
parent c422181cfe
commit 4663e3e362
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -6,7 +6,7 @@ in {
options.aviallon.hardware.nvidia.nouveau = { options.aviallon.hardware.nvidia.nouveau = {
config = mkOption { config = mkOption {
description = "nouveau boot config"; description = "nouveau boot config";
type = with types; attrsOf (nullOr (oneOf [ int string bool ])); type = with types; attrsOf (nullOr (oneOf [ int str bool ]));
example = { NvBoost = 1; }; example = { NvBoost = 1; };
default = {}; default = {};
}; };