mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-13 08:08:57 -05:00
17 lines
344 B
Nix
17 lines
344 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
# Enable UEFI support
|
|
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
|
|
|
|
# Allow virtualising off-architecture systems
|
|
boot.binfmt.emulatedSystems = [
|
|
"aarch64-linux"
|
|
"riscv64-linux"
|
|
];
|
|
|
|
environment.systemPackages = [
|
|
pkgs.qemu
|
|
pkgs.quickemu
|
|
];
|
|
}
|