added gaming role.
This commit is contained in:
		
							parent
							
								
									399351c3c1
								
							
						
					
					
						commit
						9068858ee4
					
				
					 2 changed files with 18 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
# when it gets packaged, will want cadquery and build123d
 | 
			
		||||
  # when it gets packaged, will want cadquery and build123d
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    prusa-slicer
 | 
			
		||||
    freecad
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										17
									
								
								roles/nixos/gaming.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								roles/nixos/gaming.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.steam = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    extraCompatPackages = with pkgs;[
 | 
			
		||||
      proton-ge-bin
 | 
			
		||||
    ];
 | 
			
		||||
    gamescopeSession.enable=true;
 | 
			
		||||
  };
 | 
			
		||||
  programs.gamemode.enable=true;
 | 
			
		||||
 | 
			
		||||
  hardware.steam-hardware.enable = true;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue