about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix4
-rw-r--r--nixos/haruka/configuration.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 3418ce7..2283b8b 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -348,8 +348,8 @@
     WLR_NO_HARDWARE_CURSORS = "1"; # Prevent cursors disappearing on nouveau
   };
 
-  hardware.opengl.enable = true;
-  hardware.opengl.extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
+  hardware.graphics.enable = true;
+  hardware.graphics.extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
 
   xdg.portal = {
     enable = true;
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index a4e294e..3e803cd 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -349,8 +349,8 @@
     zsh.enableCompletion = true;
   };
 
-  hardware.opengl.enable = true;
-  hardware.opengl.extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
+  hardware.graphics.enable = true;
+  hardware.graphics.extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
 
   xdg.portal = {
     enable = true;