mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			421 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			421 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# To build, use:
 | 
						|
# nix-build "<nixpkgs/nixos>" -I nixos-config=starfive/visionfive/v1/sd-image-installer.nix -A config.system.build.sdImage
 | 
						|
{ modulesPath, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    "${modulesPath}/profiles/installation-device.nix"
 | 
						|
    ./sd-image.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  # The installation media is also the installation target,
 | 
						|
  # so we don't want to provide the installation configuration.nix.
 | 
						|
  installer.cloneConfig = false;
 | 
						|
}
 |