17 lines
317 B
Nix
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" ];
|
|
|
|
|
|
}
|