| 
									
										
										
										
											2022-12-04 18:08:58 +01:00
										 |  |  | { self, ... }: | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  | let | 
					
						
							| 
									
										
										
										
											2022-12-04 18:08:58 +01:00
										 |  |  |   inherit (self.inputs) deploy-rs; | 
					
						
							|  |  |  |   mkNode = server: hostname: system: remoteBuild: { | 
					
						
							|  |  |  |     inherit hostname remoteBuild; | 
					
						
							|  |  |  |     fastConnection = true; | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |     profiles.system.path = | 
					
						
							| 
									
										
										
										
											2022-12-04 18:08:58 +01:00
										 |  |  |       deploy-rs.lib.${system}.activate.nixos | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |         self.nixosConfigurations."${server}"; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | in | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   user = "root"; | 
					
						
							| 
									
										
										
										
											2022-12-04 18:08:58 +01:00
										 |  |  |   sshUser = "felix"; | 
					
						
							|  |  |  |   sshOpts = [ "-i" "~/.ssh/keys/local_ed25519" ]; | 
					
						
							|  |  |  |   #sshOpts = [ "-p" "6158" "-i" "~/.ssh/keys/local_ed25519" ]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |   nodes = { | 
					
						
							| 
									
										
										
										
											2022-12-04 18:08:58 +01:00
										 |  |  |     thinkman = mkNode "thinkman" "localhost" "x86_64-linux" false; | 
					
						
							|  |  |  |     newton = mkNode "newton" "buehler.rocks" "x86_64-linux" false; | 
					
						
							|  |  |  |     serverle = mkNode "serverle" "serverle.local" "aarch64-linux" true; | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |   }; | 
					
						
							|  |  |  | } |