update option name (opengl -> graphics)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-12-23 12:59:22 +01:00
parent eb812dc9e0
commit f5aa965369

View File

@@ -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