From 2a48aa3359d84b23397b7fb4dec78c055dffa089 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Sun, 17 Sep 2023 20:18:45 -0700 Subject: [PATCH] less opengl --- modules/workstation.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/modules/workstation.nix b/modules/workstation.nix index e1c0f5c..2c17dc2 100644 --- a/modules/workstation.nix +++ b/modules/workstation.nix @@ -26,12 +26,6 @@ in { default = true; description = "If to use a prettier booting process"; }; - - opengl = mkOption { - type = types.bool; - default = true; - description = "Enable everything on opengl for a hopefully painless experience"; - }; }; config = mkIf cfg.enable { @@ -122,17 +116,9 @@ in { # Video support hardware.opengl = { enable = lib.mkDefault true; + driSupport = lib.mkDefault true; # Fix steam driSupport32Bit = lib.mkDefault true; - # Other drivers - extraPackages = with pkgs; lib.mkIf cfg.opengl [ - intel-media-driver - vaapiIntel - vaapiVdpau - libvdpau-va-gl - libGL - mesa - ]; }; # Support for steam hardware