mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	The new test runner will evaluate all test profiles from the README.md in parallel in separate nix-build processes. Since we do not load all processes into one process, this also helps saving memory.
		
			
				
	
	
		
			20 lines
		
	
	
		
			373 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			373 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ profile }:
 | 
						|
 | 
						|
let
 | 
						|
  shim = {
 | 
						|
    boot.loader.systemd-boot.enable = true;
 | 
						|
 | 
						|
    fileSystems."/" = {
 | 
						|
      device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
 | 
						|
      fsType = "btrfs";
 | 
						|
    };
 | 
						|
 | 
						|
    nixpkgs.config = {
 | 
						|
      allowBroken = true;
 | 
						|
      allowUnfree = true;
 | 
						|
    };
 | 
						|
  };
 | 
						|
in (import <nixpkgs/nixos> {
 | 
						|
  configuration.imports = [ profile shim ];
 | 
						|
}).system
 |