From dfc44d2be6945bab4869ff1dadeffc21334ae312 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 They have been removed from NixOS. The "hardware.opengl" group is now renamed to "hardware.graphics". See: https://github.com/NixOS/nixpkgs/commit/98cef4c27326d0f9e521654441929c1c7c64f8e9 --- 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" ];