Added: Qemu
This commit is contained in:
parent
252d028560
commit
dc265d2f71
@ -22,6 +22,7 @@
|
|||||||
../../modules/file_managers/spacefm.nix
|
../../modules/file_managers/spacefm.nix
|
||||||
../../modules/python.nix
|
../../modules/python.nix
|
||||||
../../modules/appimage.nix
|
../../modules/appimage.nix
|
||||||
|
../../modules/qemu.nix
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
9
modules/qemu.nix
Normal file
9
modules/qemu.nix
Normal 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"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user