forked from rarias/jungle
		
	Add bay node
This commit is contained in:
		
							parent
							
								
									480c97e952
								
							
						
					
					
						commit
						a7e66e2246
					
				| @ -21,6 +21,7 @@ in | |||||||
|       owl2  = mkConf "owl2"; |       owl2  = mkConf "owl2"; | ||||||
|       eudy  = mkConf "eudy"; |       eudy  = mkConf "eudy"; | ||||||
|       koro  = mkConf "koro"; |       koro  = mkConf "koro"; | ||||||
|  |       bay   = mkConf "bay"; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     packages.x86_64-linux.hut = self.nixosConfigurations.hut.pkgs; |     packages.x86_64-linux.hut = self.nixosConfigurations.hut.pkgs; | ||||||
|  | |||||||
							
								
								
									
										26
									
								
								m/bay/configuration.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								m/bay/configuration.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,26 @@ | |||||||
|  | { config, pkgs, modulesPath, ... }: | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |   imports = [ | ||||||
|  |     (modulesPath + "/installer/netboot/netboot-minimal.nix") | ||||||
|  |     ../common/main.nix | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|  |   services.openssh.settings.X11Forwarding = false; | ||||||
|  |   nixpkgs.config.allowBroken = true; | ||||||
|  | 
 | ||||||
|  |   # Select the this using the ID to avoid mismatches | ||||||
|  |   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53562d"; | ||||||
|  | 
 | ||||||
|  |   networking = { | ||||||
|  |     hostName = "bay"; | ||||||
|  |     interfaces.eno1.ipv4.addresses = [ { | ||||||
|  |       address = "10.0.40.40"; | ||||||
|  |       prefixLength = 24; | ||||||
|  |     } ]; | ||||||
|  |     interfaces.ibp5s0.ipv4.addresses = [ { | ||||||
|  |       address = "10.0.42.40"; | ||||||
|  |       prefixLength = 24; | ||||||
|  |     } ]; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user