15 lines
360 B
Nix
15 lines
360 B
Nix
# 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.
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
{
|
|
virtualisation.virtualbox.host = {
|
|
enable = true;
|
|
enableExtensionPack = true; # urg, takes so long to build
|
|
};
|
|
|
|
my.user.extraGroups = [ "vboxusers" ];
|
|
}
|