I'd like to change the default on x86 platforms to qboot at some point, since it saves a fair bit of startup time.
		
			
				
	
	
		
			14 lines
		
	
	
		
			234 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			234 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
import ./make-test-python.nix ({ pkgs, ...} : {
 | 
						|
  name = "qboot";
 | 
						|
 | 
						|
  machine = { ... }: {
 | 
						|
    virtualisation.bios = pkgs.qboot;
 | 
						|
  };
 | 
						|
 | 
						|
  testScript =
 | 
						|
    ''
 | 
						|
      start_all()
 | 
						|
      machine.wait_for_unit("multi-user.target")
 | 
						|
    '';
 | 
						|
})
 |