home,nixos: add hw to firefox
This commit is contained in:
		
							parent
							
								
									a126559750
								
							
						
					
					
						commit
						01b7e061fc
					
				|  | @ -34,7 +34,8 @@ in | |||
| 	config = { | ||||
| 		home.sessionVariables = { | ||||
| 			XDG_CURRENT_DESKTOP = "sway"; | ||||
| 			MOZ_ENABLE_WAYLAND = "1"; | ||||
| 			MOZ_ENABLE_WAYLAND = 1; | ||||
| 			MOZ_WEBRENDER = 1; | ||||
| 		}; | ||||
| 
 | ||||
| 		home.packages = with pkgs; [ | ||||
|  |  | |||
|  | @ -0,0 +1,12 @@ | |||
| {pkgs, ...}: | ||||
| { | ||||
| 	hardware.opengl = { | ||||
| 		enable = true; | ||||
| 		extraPackages = with pkgs; [ | ||||
| 			intel-media-driver # LIBVA_DRIVER_NAME=iHD | ||||
| 			# vaapiIntel         # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) | ||||
|       			vaapiVdpau | ||||
| 			libvdpau-va-gl | ||||
| 		]; | ||||
| 	}; | ||||
| } | ||||
		Loading…
	
		Reference in New Issue