diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 0ca5558ee104..2b9221ec5d72 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -18,7 +18,7 @@ let config.boot.kernelPackages.nvidia_x11 else if elem "nvidiaLegacy173" drivers then config.boot.kernelPackages.nvidia_x11_legacy173 - else if elem "nvidiaLegacy304" videoDrivers then + else if elem "nvidiaLegacy304" drivers then config.boot.kernelPackages.nvidia_x11_legacy304 else throw "impossible";