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,8 +1,16 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  boot.loader.grub = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    device = "/dev/vda";
 | 
			
		||||
  boot = {
 | 
			
		||||
    loader.grub = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      device = "/dev/vda";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    binfmt.emulatedSystems = [
 | 
			
		||||
      "armv6l-linux"
 | 
			
		||||
      "armv7l-linux"
 | 
			
		||||
      "aarch64-linux"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking = {
 | 
			
		||||
| 
						 | 
				
			
			@ -10,5 +18,20 @@
 | 
			
		|||
    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";
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue