From ad487e671553d3199d4b833f5e02c86d3816073c Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 5 Nov 2025 18:25:55 -0600 Subject: [PATCH] update nvidia module to graphics and add support for amd and intel --- modules/system/graphics/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/system/graphics/default.nix b/modules/system/graphics/default.nix index 2e7b553..19d2b9e 100644 --- a/modules/system/graphics/default.nix +++ b/modules/system/graphics/default.nix @@ -9,10 +9,12 @@ in { options.system.nvidia = { enable = lib.mkEnableOption "enables nvidia"; vendor = lib.mkOption { - type = lib.types.enum ["amd" "nvidia" "intel"]; + type = lib.types.enum ["intel" "amd" "nvidia"]; default = "intel"; - description = "set the vendor of your graphics device"; - }; + description = '' + set the vendor of your graphics device + supported options are "intel" "amd" "nvidia" + ''; }; config = lib.mkIf cfg.enable (lib.mkMerge [