Files
nixos/hosts/jude/virt.nix
T

37 lines
662 B
Nix
Raw Normal View History

2022-05-04 13:52:38 -05:00
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
2023-08-21 10:20:24 -05:00
dmidecode
2023-07-27 12:12:41 -05:00
guestfs-tools
2022-05-04 13:52:38 -05:00
libguestfs
2023-08-17 09:32:42 -05:00
ovftool
2022-05-04 13:52:38 -05:00
packer
virt-manager
2023-08-14 00:41:05 -05:00
vmware-workstation
2023-08-17 09:32:42 -05:00
vmfs-tools
2022-05-04 13:52:38 -05:00
];
# 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
};
2023-08-07 16:15:58 -05:00
virtualbox.host = {
enable = true;
enableExtensionPack = true;
};
2023-06-01 12:07:17 -05:00
2023-08-17 11:19:54 -05:00
waydroid.enable = false;
lxd.enable = false;
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";
}