iso: copy devShell storepath to iso

This avoids for the live nixos on the iso to rebuild the devshell
upon entering it.
This commit is contained in:
David Arnold 2021-03-16 17:33:53 -05:00
parent 17aee57df4
commit 8e3777ff34
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08

View file

@ -18,6 +18,9 @@ lib.nixosSystem (args // {
target = "/devos/";
}];
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;
isoImage.storeContents = [
self.devShell.${config.nixpkgs.system}
];
# confilcts with networking.wireless which might be slightly
# more useful on a stick
networking.networkmanager.enable = lib.mkForce false;