update option name (opengl -> graphics)
This commit is contained in:
@@ -42,10 +42,10 @@
|
|||||||
boot.initrd.kernelModules = if host == "NxXPS" then [ "i915" ] else [];
|
boot.initrd.kernelModules = if host == "NxXPS" then [ "i915" ] else [];
|
||||||
|
|
||||||
environment.variables = if host == "NxXPS" then {
|
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 {};
|
} 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)
|
(if (lib.versionOlder (lib.versions.majorMinor lib.version) "24.11") then vaapiIntel else intel-vaapi-driver)
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
|
|||||||
Reference in New Issue
Block a user