steam: fix bug in steam beta
This commit is contained in:
		
							parent
							
								
									4977cf1628
								
							
						
					
					
						commit
						5034746b55
					
				
					 2 changed files with 22 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,26 @@
 | 
			
		|||
{ config, pkgs, inputs, ... }: {
 | 
			
		||||
{ config, pkgs, inputs, ... }:
 | 
			
		||||
let
 | 
			
		||||
  upkgs = pkgs.unstable;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  programs.steam.enable = true;
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
  programs.steam.package = upkgs.steam.override {
 | 
			
		||||
    extraLibraries = pkgs: with config.hardware.opengl;
 | 
			
		||||
      if pkgs.hostPlatform.is64bit
 | 
			
		||||
      then [ package ] ++ extraPackages
 | 
			
		||||
      else [ package32 ] ++ extraPackages32;
 | 
			
		||||
 | 
			
		||||
    extraPkgs = pkgs: with pkgs; [
 | 
			
		||||
      capitaine-cursors
 | 
			
		||||
      bibata-cursors
 | 
			
		||||
      mangohud
 | 
			
		||||
      xdg-user-dirs
 | 
			
		||||
    ];
 | 
			
		||||
    extraProfile = ''
 | 
			
		||||
      export GSETTINGS_SCHEMA_DIR="${upkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${upkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
  environment.systemPackages = with upkgs; [
 | 
			
		||||
    protontricks
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue