dotfiles/nixos/libvirt.nix
Cyryl Płotnicki 1cd76a43b7 kvm
2020-03-07 01:57:00 +00:00

6 lines
152 B
Nix

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