nix-config/modules/qemu.nix
2025-04-08 00:35:46 +02:00

13 lines
257 B
Nix

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