14 lines
		
	
	
		
			279 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			279 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ pkgs, ... }:
 | 
						|
{
 | 
						|
  environment.systemPackages = with pkgs; [
 | 
						|
    qemu
 | 
						|
    quickemu
 | 
						|
    nemu
 | 
						|
  ];
 | 
						|
  systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
 | 
						|
  boot.binfmt.emulatedSystems = [
 | 
						|
    "aarch64-linux"
 | 
						|
    "riscv64-linux"
 | 
						|
  ];
 | 
						|
}
 |