From 04567f4ebcc9d4f90a7f527713ec7a3cd51e9cab Mon Sep 17 00:00:00 2001 From: Bradley Nelson Date: Sat, 31 Aug 2024 19:52:44 -0600 Subject: [PATCH] fix: Update NVIDIA GPU configurations to use mkOverride --- common/gpu/nvidia/ada-lovelace/default.nix | 2 +- common/gpu/nvidia/ampere/default.nix | 2 +- common/gpu/nvidia/turing/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/gpu/nvidia/ada-lovelace/default.nix b/common/gpu/nvidia/ada-lovelace/default.nix index 9a06576..a922313 100644 --- a/common/gpu/nvidia/ada-lovelace/default.nix +++ b/common/gpu/nvidia/ada-lovelace/default.nix @@ -6,5 +6,5 @@ in imports = [ ../. ]; # enable the opensorce drivers if the package supports it - hardware.nvidia.open = lib.mkDefault (nividiaPackage ? open && nividiaPackage ? firmware); + hardware.nvidia.open = lib.mkOverride 990 (nividiaPackage ? open && nividiaPackage ? firmware); } diff --git a/common/gpu/nvidia/ampere/default.nix b/common/gpu/nvidia/ampere/default.nix index 9a06576..a922313 100644 --- a/common/gpu/nvidia/ampere/default.nix +++ b/common/gpu/nvidia/ampere/default.nix @@ -6,5 +6,5 @@ in imports = [ ../. ]; # enable the opensorce drivers if the package supports it - hardware.nvidia.open = lib.mkDefault (nividiaPackage ? open && nividiaPackage ? firmware); + hardware.nvidia.open = lib.mkOverride 990 (nividiaPackage ? open && nividiaPackage ? firmware); } diff --git a/common/gpu/nvidia/turing/default.nix b/common/gpu/nvidia/turing/default.nix index 9a06576..a922313 100644 --- a/common/gpu/nvidia/turing/default.nix +++ b/common/gpu/nvidia/turing/default.nix @@ -6,5 +6,5 @@ in imports = [ ../. ]; # enable the opensorce drivers if the package supports it - hardware.nvidia.open = lib.mkDefault (nividiaPackage ? open && nividiaPackage ? firmware); + hardware.nvidia.open = lib.mkOverride 990 (nividiaPackage ? open && nividiaPackage ? firmware); }