Enable strictDeps on all our toplevel packages #12
| @ -54,6 +54,17 @@ | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   # Use SSH tunnel to reach internal hosts | ||||
|   programs.ssh.extraConfig = '' | ||||
|     Host bscpm04.bsc.es gitlab-internal.bsc.es knights3.bsc.es | ||||
|       ProxyCommand nc -X connect -x localhost:23080 %h %p | ||||
|     Host raccoon | ||||
|       HostName knights3.bsc.es | ||||
|       ProxyCommand nc -X connect -x localhost:23080 %h %p | ||||
|     Host tent | ||||
|       ProxyJump raccoon | ||||
|   ''; | ||||
| 
 | ||||
|   # Use tent for cache | ||||
|   nix.settings = { | ||||
|     extra-substituters = [ "https://jungle.bsc.es/cache" ]; | ||||
|  | ||||
| @ -3,7 +3,8 @@ | ||||
|   imports = [ | ||||
|     ./xeon.nix | ||||
|     ./ssf/fs.nix | ||||
|     ./ssf/net.nix | ||||
|     ./ssf/hosts.nix | ||||
|     ./ssf/net.nix | ||||
|     ./ssf/ssh.nix | ||||
|   ]; | ||||
| } | ||||
|  | ||||
							
								
								
									
										16
									
								
								m/common/ssf/ssh.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								m/common/ssf/ssh.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| { | ||||
|   # Use SSH tunnel to apex to reach internal hosts | ||||
|   programs.ssh.extraConfig = '' | ||||
|     Host tent | ||||
|       ProxyJump raccoon | ||||
| 
 | ||||
|     # Access raccoon via the HTTP proxy | ||||
|     Host raccoon knights3.bsc.es | ||||
|       HostName knights3.bsc.es | ||||
|       ProxyCommand=ssh apex 'nc -X connect -x localhost:23080 %h %p' | ||||
| 
 | ||||
|     # Make sure we can reach gitlab even if we don't have SSH access to raccoon | ||||
|     Host bscpm04.bsc.es gitlab-internal.bsc.es | ||||
|       ProxyCommand=ssh apex 'nc -X connect -x localhost:23080 %h %p' | ||||
|   ''; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user