dotfiles/nixos/libvirt.nix

19 lines
341 B
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
...
}: {
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;
2022-12-19 09:09:08 +00: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-02-29 14:00:42 +00:00
}