mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-12 23:58:57 -05:00
qemu virt stuff
This commit is contained in:
parent
92049950e2
commit
9c6c86c604
3 changed files with 18 additions and 9 deletions
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
virtualisation.virtualbox = {
|
||||
host = {
|
||||
enable = true;
|
||||
addNetworkInterface = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
17
hosts/common/optional/vms.nix
Normal file
17
hosts/common/optional/vms.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ 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
|
||||
];
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
"hosts/common/optional/pentesting.nix"
|
||||
"hosts/common/optional/gaming.nix"
|
||||
"hosts/common/optional/podman.nix"
|
||||
"hosts/common/optional/vbox.nix"
|
||||
"hosts/common/optional/vms.nix"
|
||||
"hosts/common/optional/printing.nix"
|
||||
"modules/services/jellyfin"
|
||||
"modules/services/mesh/client.nix"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue