Initially we planned to run jobs in those nodes by sharing the same nix store from hut. However, these nodes are now used to build packages which are not available in hut. Users also ssh to the nodes, which doesn't mount the hut store, so it doesn't make much sense to keep mounting it. Reviewed-by: Aleix Boné <abonerib@bsc.es>
		
			
				
	
	
		
			29 lines
		
	
	
		
			664 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			664 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
 | |
|   ];
 | |
| 
 | |
|   # Select the this using the ID to avoid mismatches
 | |
|   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d535629";
 | |
| 
 | |
|   networking = {
 | |
|     hostName = "owl2";
 | |
|     interfaces.eno1.ipv4.addresses = [ {
 | |
|       address = "10.0.40.2";
 | |
|       prefixLength = 24;
 | |
|     } ];
 | |
|     # Watch out! The OmniPath device is not in the same place here:
 | |
|     interfaces.ibp129s0.ipv4.addresses = [ {
 | |
|       address = "10.0.42.2";
 | |
|       prefixLength = 24;
 | |
|     } ];
 | |
|   };
 | |
| }
 |