From 15b114ffd6a84a4af991cad39d85f697c0c2fe87 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 22 Jul 2024 12:36:20 +0200 Subject: [PATCH] Remove setLdLibraryPath and driSupport options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They have been removed from NixOS. The "hardware.opengl" group is now renamed to "hardware.graphics". See: https://github.com/NixOS/nixpkgs/commit/98cef4c27326d0f9e521654441929c1c7c64f8e9 Reviewed-by: Aleix Boné --- m/raccoon/configuration.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/m/raccoon/configuration.nix b/m/raccoon/configuration.nix index b2c7110..2a1bc68 100644 --- a/m/raccoon/configuration.nix +++ b/m/raccoon/configuration.nix @@ -21,11 +21,7 @@ # Configure Nvidia driver to use with CUDA hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production; - hardware.opengl = { - enable = true; - driSupport = true; - setLdLibraryPath = true; - }; + hardware.graphics.enable = true; nixpkgs.config.allowUnfree = true; nixpkgs.config.nvidia.acceptLicense = true; services.xserver.videoDrivers = [ "nvidia" ];