Enable localhost as buld machine for hydra
This commit is contained in:
		
					parent
					
						
							
								ecfe325c9c
							
						
					
				
			
			
				commit
				
					
						f213e05e46
					
				
			
		
					 1 changed files with 26 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,14 +1,37 @@
 | 
				
			||||||
{ ... }:
 | 
					{ ... }:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  boot.loader.grub = {
 | 
					  boot = {
 | 
				
			||||||
 | 
					    loader.grub = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      device = "/dev/vda";
 | 
					      device = "/dev/vda";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    binfmt.emulatedSystems = [
 | 
				
			||||||
 | 
					      "armv6l-linux"
 | 
				
			||||||
 | 
					      "armv7l-linux"
 | 
				
			||||||
 | 
					      "aarch64-linux"
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  networking = {
 | 
					  networking = {
 | 
				
			||||||
    hostName = "hydra";
 | 
					    hostName = "hydra";
 | 
				
			||||||
    firewall.enable = false;
 | 
					    firewall.enable = false;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  nix = {
 | 
				
			||||||
 | 
					    settings.allowed-uris = "http:// https://";
 | 
				
			||||||
 | 
					    buildMachines = [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        hostName = "localhost";
 | 
				
			||||||
 | 
					        systems = [
 | 
				
			||||||
 | 
					          "x86_64-linux"
 | 
				
			||||||
 | 
					          "armv6l-linux"
 | 
				
			||||||
 | 
					          "armv7l-linux"
 | 
				
			||||||
 | 
					          "aarch64-linux"
 | 
				
			||||||
 | 
					        ];
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  system.stateVersion = "23.05";
 | 
					  system.stateVersion = "23.05";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue