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