2022-03-10 12:25:23 +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
|
|
|
|
2022-11-09 21:16:45 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
virtmanager
|
|
|
|
qemu
|
|
|
|
swtpm
|
|
|
|
virt-viewer
|
|
|
|
];
|
2020-05-31 12:47:50 +01:00
|
|
|
|
2020-02-29 14:00:42 +00:00
|
|
|
}
|