forked from jan-leila/nix-config
		
	drafted out home manager steam configuration
This commit is contained in:
		
							parent
							
								
									7473ad5415
								
							
						
					
					
						commit
						9c7cc3e3a7
					
				
					 7 changed files with 40 additions and 2 deletions
				
			
		
							
								
								
									
										18
									
								
								modules/nixos-modules/home-manager/steam.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								modules/nixos-modules/home-manager/steam.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   setupSteam = | ||||
|     lib.lists.any | ||||
|     (value: value) | ||||
|     (lib.attrsets.mapAttrsToList (name: value: value.programs.steam.enable) config.home-manager.users); | ||||
| in { | ||||
|   config = lib.mkIf setupSteam { | ||||
|     programs.steam = { | ||||
|       enable = true; | ||||
|       # TODO: figure out how to not install steam here | ||||
|       # package = lib.mkDefault pkgs.emptyFile; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue