about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-07-07 14:24:20 +0900
committersefidel <contact@sefidel.net>2024-07-07 14:24:20 +0900
commitd4544fe54e87a0ba8225c4c33a209e54a6ea6bc5 (patch)
tree699323bffa5e361e2ab55f98304c02a52755d1bd
parente53c5e64e1eac1a69d7f2f2e991f7fe98f8e7b53 (diff)
downloadnixrc-d4544fe54e87a0ba8225c4c33a209e54a6ea6bc5.tar.gz
nixrc-d4544fe54e87a0ba8225c4c33a209e54a6ea6bc5.zip
chore(nixos): hardware.opengl -> hardware.graphics
* This option has been renamed.
-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;