update the VM stuff to have access to libvirt and all that jazz
This commit is contained in:
parent
581f91056a
commit
ad58fdcc16
3 changed files with 21 additions and 7 deletions
|
|
@ -10,8 +10,19 @@
|
|||
"riscv64-linux"
|
||||
];
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
swtpm.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" ];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.qemu
|
||||
pkgs.quickemu
|
||||
pkgs.dnsmasq # Required by virt-manager
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue