From 98cb56268861711d52e6843ddb6c64a3f8fccebc Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Wed, 3 Jul 2024 20:32:37 +0100 Subject: [PATCH] hardware.opengl -> hardware.graphics --- ops/nixos/howl/default.nix | 6 +++--- ops/nixos/laputa/default.nix | 6 +++--- ops/nixos/nausicaa/default.nix | 2 +- ops/nixos/porcorosso/default.nix | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ops/nixos/howl/default.nix b/ops/nixos/howl/default.nix index db0931d9c3..c0d9d01b31 100644 --- a/ops/nixos/howl/default.nix +++ b/ops/nixos/howl/default.nix @@ -98,11 +98,11 @@ in { services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; - hardware.opengl.driSupport32Bit = true; - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable32Bit = true; + hardware.graphics.extraPackages = with pkgs; [ intel-media-driver vaapiVdpau libvdpau-va-gl libva ]; - hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; + hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; hardware.acpilight.enable = true; # Define a user account. diff --git a/ops/nixos/laputa/default.nix b/ops/nixos/laputa/default.nix index 4c8d8e4628..296adfa98a 100644 --- a/ops/nixos/laputa/default.nix +++ b/ops/nixos/laputa/default.nix @@ -127,12 +127,12 @@ boot.initrd.systemd.enable = true; - hardware.opengl.driSupport32Bit = true; - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable32Bit = true; + hardware.graphics.extraPackages = with pkgs; [ intel-media-driver libva # intel-compute-runtime # intel gpu ]; - hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; + hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; hardware.acpilight.enable = true; hardware.bluetooth.enable = true; diff --git a/ops/nixos/nausicaa/default.nix b/ops/nixos/nausicaa/default.nix index e67751423b..dd0fecd4bf 100644 --- a/ops/nixos/nausicaa/default.nix +++ b/ops/nixos/nausicaa/default.nix @@ -180,7 +180,7 @@ in { defaultSession = "plasma"; }; - hardware.opengl.driSupport32Bit = true; + hardware.graphics.enable32Bit = true; hardware.acpilight.enable = true; hardware.bluetooth.enable = true; hardware.sensor.iio.enable = true; diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index ac3b9d440f..5c8991ec33 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -208,12 +208,12 @@ in { }; }; - hardware.opengl.driSupport32Bit = true; - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable32Bit = true; + hardware.graphics.extraPackages = with pkgs; [ intel-media-driver libva # intel-compute-runtime # intel gpu ]; - hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; + hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; hardware.acpilight.enable = true; hardware.bluetooth.enable = true;