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;
|
2021-10-10 09:09:38 +01:00
|
|
|
users.extraUsers.cyryl.extraGroups = [ "kvm" ];
|
2020-05-31 12:47:50 +01:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2021-11-22 19:32:26 +00:00
|
|
|
virtmanager
|
|
|
|
qemu
|
|
|
|
swtpm
|
2020-05-31 12:47:50 +01:00
|
|
|
];
|
|
|
|
|
2020-02-29 14:00:42 +00:00
|
|
|
}
|