Added: Qemu

This commit is contained in:
2025-04-07 23:45:34 +02:00
parent 252d028560
commit dc265d2f71
2 changed files with 10 additions and 0 deletions

9
modules/qemu.nix Normal file
View 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"
];
}