26 lines
469 B
Nix
26 lines
469 B
Nix
{ pkgs, ... }:
|
|||
|
|
|
||
|
|
{
|
||
|
|
environment.systemPackages = with pkgs; [
|
||
|
|
ansible
|
||
|
|
libguestfs
|
||
|
|
packer
|
||
|
|
virt-manager
|
||
|
|
vagrant
|
||
|
|
];
|
||
|
|
|
||
|
|
# Give my user access to the libvirtd process
|
||
|
|
users.users.greg.extraGroups = [ "libvirtd" ];
|
||
|
|
|
||
|
|
virtualisation.libvirtd = {
|
||
|
|
enable = true;
|
||
|
|
onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart
|
||
|
|
};
|
||
|
|
|
||
|
|
virtualisation.waydroid = {
|
||
|
|
enable = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||
|
|
}
|