Skip to content

Instantly share code, notes, and snippets.

@jsamsa jsamsa/buildbox.nix Secret
Created Feb 22, 2019

Embed
What would you like to do?
{
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
You can’t perform that action at this time.