Use hut substituter in all nodes
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
		
							parent
							
								
									ad1544759f
								
							
						
					
					
						commit
						5fcd57a061
					
				| @ -5,6 +5,7 @@ | |||||||
|     ../common/xeon.nix |     ../common/xeon.nix | ||||||
|     ../common/ssf/hosts.nix |     ../common/ssf/hosts.nix | ||||||
|     ../module/ceph.nix |     ../module/ceph.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|     ../module/slurm-server.nix |     ../module/slurm-server.nix | ||||||
|     ./nfs.nix |     ./nfs.nix | ||||||
|     ./wireguard.nix |     ./wireguard.nix | ||||||
| @ -65,10 +66,4 @@ | |||||||
|       iptables -I nixos-fw 2 -p tcp -s 84.88.52.176 -j nixos-fw-refuse |       iptables -I nixos-fw 2 -p tcp -s 84.88.52.176 -j nixos-fw-refuse | ||||||
|     ''; |     ''; | ||||||
|   }; |   }; | ||||||
| 
 |  | ||||||
|   # Use tent for cache |  | ||||||
|   nix.settings = { |  | ||||||
|     extra-substituters = [ "https://jungle.bsc.es/cache" ]; |  | ||||||
|     extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; |  | ||||||
|   }; |  | ||||||
| } | } | ||||||
|  | |||||||
| @ -3,6 +3,7 @@ | |||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ../common/ssf.nix |     ../common/ssf.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|     ../module/monitoring.nix |     ../module/monitoring.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -9,6 +9,7 @@ | |||||||
|     ./cpufreq.nix |     ./cpufreq.nix | ||||||
|     ./fs.nix |     ./fs.nix | ||||||
|     ./users.nix |     ./users.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|     ../module/debuginfod.nix |     ../module/debuginfod.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -8,6 +8,7 @@ | |||||||
|     ../module/emulation.nix |     ../module/emulation.nix | ||||||
|     ../module/nvidia.nix |     ../module/nvidia.nix | ||||||
|     ../module/slurm-client.nix |     ../module/slurm-client.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|     ./wireguard.nix |     ./wireguard.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
| @ -62,12 +63,6 @@ | |||||||
|     interfaces.enp1s0f0np0.useDHCP = true; |     interfaces.enp1s0f0np0.useDHCP = true; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # Use hut for cache |  | ||||||
|   nix.settings = { |  | ||||||
|     extra-substituters = [ "https://jungle.bsc.es/cache" ]; |  | ||||||
|     extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   # Recommended for new graphics cards |   # Recommended for new graphics cards | ||||||
|   hardware.nvidia.open = true; |   hardware.nvidia.open = true; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,6 +4,7 @@ | |||||||
|   imports = [ |   imports = [ | ||||||
|     ../common/ssf.nix |     ../common/ssf.nix | ||||||
|     ../module/monitoring.nix |     ../module/monitoring.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53563a"; |   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53563a"; | ||||||
|  | |||||||
| @ -9,6 +9,7 @@ | |||||||
|     ../module/nvidia.nix |     ../module/nvidia.nix | ||||||
|     ../eudy/kernel/perf.nix |     ../eudy/kernel/perf.nix | ||||||
|     ./wireguard.nix |     ./wireguard.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   # Don't install Grub on the disk yet |   # Don't install Grub on the disk yet | ||||||
| @ -51,11 +52,6 @@ | |||||||
|     options = [ "nfsvers=3" "rsize=1024" "wsize=1024" "cto" "nofail" ]; |     options = [ "nfsvers=3" "rsize=1024" "wsize=1024" "cto" "nofail" ]; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   nix.settings = { |  | ||||||
|     extra-substituters = [ "https://jungle.bsc.es/cache" ]; |  | ||||||
|     extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   # Enable performance governor |   # Enable performance governor | ||||||
|   powerManagement.cpuFreqGovernor = "performance"; |   powerManagement.cpuFreqGovernor = "performance"; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -15,6 +15,7 @@ | |||||||
|     ../hut/msmtp.nix |     ../hut/msmtp.nix | ||||||
|     ../module/p.nix |     ../module/p.nix | ||||||
|     ../module/vpn-dac.nix |     ../module/vpn-dac.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   # Select the this using the ID to avoid mismatches |   # Select the this using the ID to avoid mismatches | ||||||
|  | |||||||
| @ -3,6 +3,7 @@ | |||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ../common/ssf.nix |     ../common/ssf.nix | ||||||
|  |     ../module/hut-substituter.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   # Select this using the ID to avoid mismatches |   # Select this using the ID to avoid mismatches | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user