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; |           value = home platform; | ||||||
|         in { |         in { | ||||||
|           inherit value; |           inherit name value; | ||||||
|           name = "${value.config.home.username}@${value.config.local.hostname}"; |  | ||||||
|         }; |         }; | ||||||
|       in |       in | ||||||
|         mapAttrs' (_: platformHome) (importAll {root = ./home/platforms;}); |         mapAttrs' platformHome (importAll {root = ./home/platforms;}); | ||||||
|     }; |     }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue