To accomodate the raccoon knights workstation, some of the configuration pulled by m/common/main.nix has to be removed. To solve it, the xeon specific parts are placed into m/common/xeon.nix and only the common configuration is at m/common/base.nix. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
		
			
				
	
	
		
			20 lines
		
	
	
		
			323 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			323 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, ... }:
 | |
| 
 | |
| {
 | |
|   networking = {
 | |
|     enableIPv6 = false;
 | |
|     useDHCP = false;
 | |
| 
 | |
|     firewall = {
 | |
|       enable = true;
 | |
|       allowedTCPPorts = [ 22 ];
 | |
|     };
 | |
| 
 | |
|     hosts = {
 | |
|       "84.88.53.236" = [ "ssfhead.bsc.es" "ssfhead" ];
 | |
|       "84.88.51.152" = [ "raccoon" ];
 | |
|       "84.88.51.142" = [ "raccoon-ipmi" ];
 | |
|     };
 | |
|   };
 | |
| }
 |