less opengl
This commit is contained in:
parent
10cfef61e0
commit
2a48aa3359
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user