less opengl

This commit is contained in:
notgne2 2023-09-17 20:18:45 -07:00
parent 10cfef61e0
commit 2a48aa3359
Signed by: notgne2
SSH Key Fingerprint: SHA256:qlFCAimT/PvNIG3u+aYT9pIqFCWgu6sNsWjpV1vHLIE

View File

@ -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