nixos-config/modules/libvirt.nix

8 lines
149 B
Nix
Raw Normal View History

2020-09-12 20:54:10 +02:00
{ pkgs, gui ? false, ... }:
{
virtualisation.libvirtd.enable = true;
environment.systemPackages = if gui then [ pkgs.virt-manager ] else [];
}