nixos-config/machines/cream/qemu.nix

18 lines
394 B
Nix
Raw Normal View History

2023-12-17 13:06:57 +01:00
{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd.enable = true;
#virtualisation.libvirtd.allowedBridges = ["virbr0"];
virtualisation.libvirtd.onShutdown = "shutdown";
environment.systemPackages = [
pkgs.qemu_kvm
2024-07-04 19:42:10 +02:00
#(pkgs.quickemu.override { qemu_full = pkgs.qemu_kvm; })
pkgs.quickemu
2023-12-17 13:06:57 +01:00
pkgs.virt-manager
];
users.users.mainUser.extraGroups = [ "libvirtd" ];
}