add more vaapi package and cudaSupport
This commit is contained in:
		
							parent
							
								
									2033cbe3a6
								
							
						
					
					
						commit
						2b5035d657
					
				
					 2 changed files with 29 additions and 0 deletions
				
			
		|  | @ -17,6 +17,7 @@ | |||
|       ./hardware-configuration.nix | ||||
|       ./networking.nix | ||||
|       ./disk-config.nix | ||||
|       ./hardware.nix | ||||
|     ]; | ||||
| 
 | ||||
|   youthlic = { | ||||
|  |  | |||
							
								
								
									
										28
									
								
								nixos/configurations/Tytonidae/hardware.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								nixos/configurations/Tytonidae/hardware.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| { pkgs, ... }: | ||||
| { | ||||
|   nixpkgs.config.cudaSupport = true; | ||||
|   services = { | ||||
|     hardware.bolt.enable = true; | ||||
|     fstrim.enable = true; | ||||
|   }; | ||||
|   hardware = { | ||||
|     graphics = { | ||||
|       extraPackages = with pkgs; [ | ||||
|         vaapiIntel | ||||
|         libva | ||||
|         libvdpau-va-gl | ||||
|         vaapiVdpau | ||||
|         ocl-icd | ||||
|         intel-ocl | ||||
|         intel-compute-runtime | ||||
|         nvidia-vaapi-driver | ||||
|         intel-media-driver | ||||
|       ]; | ||||
|       extraPackages32 = with pkgs.pkgsi686Linux; [ | ||||
|         vaapiVdpau | ||||
|         libvdpau-va-gl | ||||
|         intel-media-driver | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue