forked from rarias/jungle
		
	For owl1 and owl2 directly connect to hut via LAN with HTTP, but for raccoon pass via the proxy using jungle.bsc.es with HTTPS. There is no risk of tampering as packages are signed. Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
		
			
				
	
	
		
			29 lines
		
	
	
		
			628 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			628 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, pkgs, ... }:
 | |
| 
 | |
| {
 | |
|   imports = [
 | |
|     ../common/xeon.nix
 | |
|     ../module/ceph.nix
 | |
|     ../module/emulation.nix
 | |
|     ../module/slurm-client.nix
 | |
|     ../module/slurm-firewall.nix
 | |
|     ../module/debuginfod.nix
 | |
|     ../module/hut-substituter.nix
 | |
|   ];
 | |
| 
 | |
|   # Select the this using the ID to avoid mismatches
 | |
|   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53566c";
 | |
| 
 | |
|   networking = {
 | |
|     hostName = "owl1";
 | |
|     interfaces.eno1.ipv4.addresses = [ {
 | |
|       address = "10.0.40.1";
 | |
|       prefixLength = 24;
 | |
|     } ];
 | |
|     interfaces.ibp5s0.ipv4.addresses = [ {
 | |
|       address = "10.0.42.1";
 | |
|       prefixLength = 24;
 | |
|     } ];
 | |
|   };
 | |
| }
 |