From 4663e3e36282bea808c699211261ace002e4b1e6 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 24 Feb 2024 19:37:52 +0100 Subject: [PATCH] [Hardware/Nvidia/Opensource] silence warning by using types.str instead of types.string --- hardware/nvidia/opensource.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/nvidia/opensource.nix b/hardware/nvidia/opensource.nix index 7435865..21393ad 100644 --- a/hardware/nvidia/opensource.nix +++ b/hardware/nvidia/opensource.nix @@ -6,7 +6,7 @@ in { options.aviallon.hardware.nvidia.nouveau = { config = mkOption { 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; }; default = {}; };