enable transcoding
This commit is contained in:
		
							parent
							
								
									5b38337eb3
								
							
						
					
					
						commit
						ed9c712e87
					
				
					 2 changed files with 21 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,6 +53,10 @@
 | 
			
		|||
    config = {
 | 
			
		||||
      # Disable if you don't want unfree packages
 | 
			
		||||
      allowUnfree = true;
 | 
			
		||||
      packageOverrides = pkgs: {
 | 
			
		||||
        # enable vaapi on OS-level
 | 
			
		||||
        vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -80,6 +84,17 @@
 | 
			
		|||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hardware.opengl = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    extraPackages = with pkgs; [
 | 
			
		||||
      intel-media-driver
 | 
			
		||||
      vaapiIntel
 | 
			
		||||
      vaapiVdpau
 | 
			
		||||
      libvdpau-va-gl
 | 
			
		||||
      intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking = {
 | 
			
		||||
    hostName = "viridian";
 | 
			
		||||
    domain = "kanto.dev";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue