2020-01-12 23:11:02 -08:00
|
|
|
# modules/vm.nix
|
|
|
|
#
|
|
|
|
# For testing software or building it on other OSes. If I find out how to get
|
|
|
|
# macOS on qemu/libvirt I'd be happy to leave virtualbox behind.
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2020-01-12 15:17:17 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
2019-08-06 10:56:54 -07:00
|
|
|
{
|
2019-11-18 18:51:39 -08:00
|
|
|
virtualisation.virtualbox.host = {
|
|
|
|
enable = true;
|
2020-01-23 15:58:53 -08:00
|
|
|
enableExtensionPack = true; # urg, takes so long to build
|
2019-11-18 18:51:39 -08:00
|
|
|
};
|
2020-01-12 15:17:17 -08:00
|
|
|
|
|
|
|
my.user.extraGroups = [ "vboxusers" ];
|
2019-08-06 10:56:54 -07:00
|
|
|
}
|