nixos-config/nixos/machines/cream/qemu.nix
2023-02-16 13:52:15 +01:00

17 lines
371 B
Nix

{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd.enable = true;
#virtualisation.libvirtd.allowedBridges = ["virbr0"];
virtualisation.libvirtd.onShutdown = "shutdown";
environment.systemPackages = [
pkgs.qemu_kvm
(pkgs.quickemu.override { qemu = pkgs.qemu_kvm; })
pkgs.virt-manager
];
users.users.mainUser.extraGroups = [ "libvirtd" ];
}