forked from fabian/nix
		
	impprove platform enumeration
This commit is contained in:
		
							parent
							
								
									2da7c4da32
								
							
						
					
					
						commit
						a598918c63
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -120,13 +120,12 @@ | |||
|             ]; | ||||
|           }; | ||||
| 
 | ||||
|         platformHome = platform: let | ||||
|         platformHome = name: platform: let | ||||
|           value = home platform; | ||||
|         in { | ||||
|           inherit value; | ||||
|           name = "${value.config.home.username}@${value.config.local.hostname}"; | ||||
|           inherit name value; | ||||
|         }; | ||||
|       in | ||||
|         mapAttrs' (_: platformHome) (importAll {root = ./home/platforms;}); | ||||
|         mapAttrs' platformHome (importAll {root = ./home/platforms;}); | ||||
|     }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue