Skip to content

Instantly share code, notes, and snippets.

@jsamsa
Created February 22, 2019 18:08
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 jsamsa/83ae85070457e0310760a8d31645aff5 to your computer and use it in GitHub Desktop.
Save jsamsa/83ae85070457e0310760a8d31645aff5 to your computer and use it in GitHub Desktop.
{
network.description = "AiM Build Environment";
buildbox = { pkgs, ... }:
{
deployment.targetEnv = "virtualbox";
deployment.virtualbox.headless = true;
environment.systemPackages = [
];
nix.nixPath = builtins.trace "/me setting nixPath" [
"nixpkgs-overlays=/run/current-system/overlays"
];
system.extraSystemBuilderCmds = ''
echo "My environment"
env
echo "Linking overlays"
ln -sv /Users/jsamsa/.config/nixpkgs/overlays $out/overlays
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment