From 2e6f6b17a429cbeecb583052d0f505e8878e9c8e Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Tue, 25 Jun 2024 09:18:16 -0300 Subject: [PATCH] Update the hardware.opengl config to the new hardware.graphics --- hosts/Equinox/default.nix | 5 ++--- hosts/Pegasus/default.nix | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/Equinox/default.nix b/hosts/Equinox/default.nix index d2900c8..b803f24 100644 --- a/hosts/Equinox/default.nix +++ b/hosts/Equinox/default.nix @@ -75,10 +75,9 @@ in { hardware.bluetooth.enable = true; # Add OpenGl support - hardware.opengl = { + hardware.graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; }; # cuda support diff --git a/hosts/Pegasus/default.nix b/hosts/Pegasus/default.nix index 4d8f53a..99861e9 100644 --- a/hosts/Pegasus/default.nix +++ b/hosts/Pegasus/default.nix @@ -40,9 +40,8 @@ in { hardware.bluetooth.enable = true; # Add OpenGl support - hardware.opengl = { + hardware.graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; }; }