forked from fabian/nix
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			305 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			305 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  pkgs,
 | 
						|
  lib,
 | 
						|
  config,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
with lib; let
 | 
						|
  cfg = config.local.programs.gaming;
 | 
						|
in {
 | 
						|
  options.local.programs.gaming = {
 | 
						|
    enable = mkEnableOption "gaming apps";
 | 
						|
  };
 | 
						|
  config = mkIf cfg.enable {
 | 
						|
    home.packages = [
 | 
						|
      pkgs.lutris
 | 
						|
      pkgs.openrct2
 | 
						|
      pkgs.prismlauncher
 | 
						|
    ];
 | 
						|
  };
 | 
						|
}
 |