dotfiles/nixos/libvirt.nix

13 lines
262 B
Nix
Raw Normal View History

2020-02-29 14:00:42 +00:00
{ config, pkgs, ... }:
{
2020-03-07 01:57:00 +00:00
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "intel_iommu=on" ];
2020-02-29 14:00:42 +00:00
virtualisation.libvirtd.enable = true;
2020-05-31 12:47:50 +01:00
virtualisation.kvmgt.enable = true;
environment.systemPackages = with pkgs; [
virtmanager qemu
];
2020-02-29 14:00:42 +00:00
}