From f5aa965369dab4c0a035b581f59b1f61ce3d2daf Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Mon, 23 Dec 2024 12:59:22 +0100 Subject: [PATCH] update option name (opengl -> graphics) --- system-modules/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-modules/hardware-configuration.nix b/system-modules/hardware-configuration.nix index 0d4bc33..86e2351 100755 --- a/system-modules/hardware-configuration.nix +++ b/system-modules/hardware-configuration.nix @@ -42,10 +42,10 @@ boot.initrd.kernelModules = if host == "NxXPS" then [ "i915" ] else []; environment.variables = if host == "NxXPS" then { - VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl"); + VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkDefault "va_gl"); } else {}; - hardware.opengl.extraPackages = if host == "NxXPS" then with pkgs; [ + hardware.graphics.extraPackages = if host == "NxXPS" then with pkgs; [ (if (lib.versionOlder (lib.versions.majorMinor lib.version) "24.11") then vaapiIntel else intel-vaapi-driver) libvdpau-va-gl intel-media-driver