nixos-config/nixos/machines/cherry/qemu.nix
Ingolf Wagner 88de00b897
wip
2023-12-17 13:06:57 +01:00

16 lines
370 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" ];
}