19 lines
586 B
Nix
19 lines
586 B
Nix
{ pkgs, ... }:
|
|
{
|
|
virtualisation.libvirtd.enable = true;
|
|
programs.virt-manager.enable = true;
|
|
virtualisation.libvirtd.qemu.ovmf.packages = [
|
|
# pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd # AAVMF
|
|
pkgs.OVMF.fd
|
|
];
|
|
virtualisation.spiceUSBRedirection.enable = true;
|
|
# security.wrappers.spice-client-glib-usb-acl-helper.source = "${pkgs.spice_gtk}/bin/spice-client-glib-usb-acl-helper";
|
|
# home manager
|
|
# dconf.settings = {
|
|
# "org/virt-manager/virt-manager/connections" = {
|
|
# autoconnect = ["qemu:///system"];
|
|
# uris = ["qemu:///system"];
|
|
# };
|
|
# };
|
|
}
|