ark/profiles/virt/default.nix

15 lines
326 B
Nix
Raw Normal View History

2020-01-07 09:44:54 +03:00
{ pkgs, ... }: {
virtualisation.libvirtd = {
enable = true;
qemuRunAsRoot = false;
};
# you'll need to add your user to 'libvirtd' group to use virt-manager
2020-12-16 07:41:19 +03:00
environment.systemPackages = with pkgs; [ virt-manager vagrant ];
environment.sessionVariables = {
VAGRANT_DEFAULT_PROVIDER = "libvirt";
};
2020-01-07 09:44:54 +03:00
}