-
-
Save jsamsa/83ae85070457e0310760a8d31645aff5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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