switch to libvirt

This commit is contained in:
Cyryl Płotnicki 2020-05-31 12:47:50 +01:00
parent c436163d30
commit 80bd131a99
2 changed files with 7 additions and 1 deletions

View file

@ -36,7 +36,7 @@
../../gfx-intel.nix ../../gfx-intel.nix
../../zerotier.nix ../../zerotier.nix
../../distributed-builds.nix ../../distributed-builds.nix
../../virtualbox.nix ../../libvirt.nix
../../i3/system.nix ../../i3/system.nix
]; ];

View file

@ -3,4 +3,10 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "intel_iommu=on" ]; boot.kernelParams = [ "intel_iommu=on" ];
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
virtualisation.kvmgt.enable = true;
environment.systemPackages = with pkgs; [
virtmanager qemu
];
} }