dotfiles/nixos/libvirt.nix

14 lines
312 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;
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; [
virtmanager qemu
];
2020-02-29 14:00:42 +00:00
}