cleverca22
10/24/2016 - 7:00 PM

configuration.nix

let
  result = import <nixpkgs/nixos> { configuration = import ./configuration.nix; };
in result.config.system.build.virtualBoxOVA
{ ... }:

{
  imports = [ <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix> ];
  environment.systemPackages = [ pkgs.hello ];
}