dotfiles/nixos/libvirt.nix
2020-05-31 12:47:50 +01:00

12 lines
262 B
Nix

{ config, pkgs, ... }:
{
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "intel_iommu=on" ];
virtualisation.libvirtd.enable = true;
virtualisation.kvmgt.enable = true;
environment.systemPackages = with pkgs; [
virtmanager qemu
];
}