Files
nixos/hosts/jude/virt.nix
T

30 lines
578 B
Nix
Raw Normal View History

2022-05-04 13:52:38 -05:00
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
libguestfs
packer
virt-manager
vagrant
];
# Give my user access to the libvirtd process
users.users.greg.extraGroups = [ "libvirtd" ];
2022-06-02 09:34:37 -05:00
virtualisation = {
libvirtd = {
enable = true;
onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart
};
2022-11-14 14:27:53 -06:00
waydroid.enable = true;
lxd.enable = true; # Needed for waydroid
2022-06-02 09:34:37 -05:00
virtualbox.host.enable = true;
2022-05-04 13:52:38 -05:00
};
2022-06-02 09:34:37 -05:00
users.extraGroups.vboxusers.members = [ "greg" ];
2022-05-04 13:52:38 -05:00
boot.extraModprobeConfig = "options kvm_amd nested=1";
}