nix-config/modules/qemu.nix

10 lines
237 B
Nix
Raw Normal View History

2025-04-07 23:45:34 +02:00
{ 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"
];
}