From e21753ee1269812ebeb275971e272fdebb9286c5 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Fri, 21 Jun 2024 19:41:34 -0400 Subject: [PATCH] migrate opengl options to graphics Signed-off-by: ahuston-0 --- systems/artemision/graphics.nix | 6 +++--- systems/palatine-hill/configuration.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/systems/artemision/graphics.nix b/systems/artemision/graphics.nix index 990fc0b..1b600d9 100644 --- a/systems/artemision/graphics.nix +++ b/systems/artemision/graphics.nix @@ -1,10 +1,10 @@ { pkgs, ... }: { - hardware.opengl = { + hardware.graphics = { ## radv: an open-source Vulkan driver from freedesktop - driSupport = true; - driSupport32Bit = true; + enable = true; + enable32Bit = true; ## amdvlk: an open-source Vulkan driver from AMD extraPackages = with pkgs; [ diff --git a/systems/palatine-hill/configuration.nix b/systems/palatine-hill/configuration.nix index 425d2a1..c9d1720 100644 --- a/systems/palatine-hill/configuration.nix +++ b/systems/palatine-hill/configuration.nix @@ -35,7 +35,7 @@ hardware = { enableAllFirmware = true; - opengl = { + graphics = { enable = true; extraPackages = with pkgs; [ intel-media-driver # LIBVA_DRIVER_NAME=iHD