Added: Qemu
This commit is contained in:
		
							
								
								
									
										9
									
								
								modules/qemu.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								modules/qemu.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
{ pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
	environment.systemPackages = [ pkgs.qemu ];
 | 
			
		||||
	systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
 | 
			
		||||
	boot.binfmt.emulatedSystems = [
 | 
			
		||||
		"aarch64-linux"
 | 
			
		||||
		"riscv64-linux"
 | 
			
		||||
	];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user