mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 09:42:11 +01:00 
			
		
		
		
	deploy-rs: enable remoteBuilding for all hosts
This commit is contained in:
		
							parent
							
								
									2792a3ec36
								
							
						
					
					
						commit
						1ca1981457
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		|  | @ -1,8 +1,8 @@ | ||||||
| { self, ... }: | { self, ... }: | ||||||
| let | let | ||||||
|   inherit (self.inputs) deploy-rs; |   inherit (self.inputs) deploy-rs; | ||||||
|   mkNode = server: hostname: system: remoteBuild: { |   mkNode = server: hostname: system: { | ||||||
|     inherit hostname remoteBuild; |     inherit hostname; | ||||||
|     fastConnection = true; |     fastConnection = true; | ||||||
|     profiles.system.path = |     profiles.system.path = | ||||||
|       deploy-rs.lib.${system}.activate.nixos |       deploy-rs.lib.${system}.activate.nixos | ||||||
|  | @ -14,10 +14,11 @@ in | ||||||
|   sshUser = "felix"; |   sshUser = "felix"; | ||||||
|   sshOpts = [ "-i" "~/.ssh/keys/local_ed25519" ]; |   sshOpts = [ "-i" "~/.ssh/keys/local_ed25519" ]; | ||||||
|   #sshOpts = [ "-p" "6158" "-i" "~/.ssh/keys/local_ed25519" ]; |   #sshOpts = [ "-p" "6158" "-i" "~/.ssh/keys/local_ed25519" ]; | ||||||
|  |   remoteBuild = true; | ||||||
| 
 | 
 | ||||||
|   nodes = { |   nodes = { | ||||||
|     thinkman = mkNode "thinkman" "localhost" "x86_64-linux" false; |     thinkman = mkNode "thinkman" "localhost" "x86_64-linux"; | ||||||
|     newton = mkNode "newton" "buehler.rocks" "x86_64-linux" false; |     newton = mkNode "newton" "buehler.rocks" "x86_64-linux"; | ||||||
|     serverle = mkNode "serverle" "serverle.local" "aarch64-linux" true; |     serverle = mkNode "serverle" "serverle.local" "aarch64-linux"; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler