nix-config/modules/qemu.nix

13 lines
257 B
Nix
Raw Permalink Normal View History

2025-04-07 23:45:34 +02:00
{ pkgs, ... }:
{
2025-04-08 00:35:46 +02:00
environment.systemPackages = with pkgs; [
qemu
quickemu
];
2025-04-07 23:45:34 +02:00
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"riscv64-linux"
];
}