wip
This commit is contained in:
@@ -89,7 +89,7 @@ in {
|
||||
# todo vulkan in chrome
|
||||
# todo video encoding in chrome
|
||||
hardware.opengl = {
|
||||
enable = de.enableAcceleration;
|
||||
enable = cfg.enableAcceleration;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||
|
||||
@@ -31,8 +31,8 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# vulkan
|
||||
hardware.opengl.driSupport = de.enableAcceleration;
|
||||
hardware.opengl.driSupport32Bit = de.enableAcceleration;
|
||||
hardware.opengl.driSupport = cfg.enableAcceleration;
|
||||
hardware.opengl.driSupport32Bit = cfg.enableAcceleration;
|
||||
|
||||
# Applications
|
||||
users.users.googlebot.packages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user