nixos-config/nixos/machines/cream/qemu.nix
Ingolf Wagner 19581c7620
add cream
2023-02-13 18:40:56 +01:00

17 lines
317 B
Nix

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