Skip to content

Instantly share code, notes, and snippets.

@vidbina
Created July 22, 2017 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vidbina/7bfa3f6a1621e86c5f14e833d40ae402 to your computer and use it in GitHub Desktop.
Save vidbina/7bfa3f6a1621e86c5f14e833d40ae402 to your computer and use it in GitHub Desktop.
VirtualBox on NixOS with Extension Pack
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
virtualbox
];
virtualisation.virtualbox.host.enable = true;
nixpkgs.config.virtualbox.enableExtensionPack = true;
}
@adamflott
Copy link

For those that found this via Google, the last option is now virtualisation.virtualbox.host.enableExtensionPack = true;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment