From 8e3777ff346e2f75f31d0813ac16fc71dc29322c Mon Sep 17 00:00:00 2001 From: David Arnold Date: Tue, 16 Mar 2021 17:33:53 -0500 Subject: [PATCH] iso: copy devShell storepath to iso This avoids for the live nixos on the iso to rebuild the devshell upon entering it. --- lib/devos/devosSystem.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/devos/devosSystem.nix b/lib/devos/devosSystem.nix index 46ca9658..cece3337 100644 --- a/lib/devos/devosSystem.nix +++ b/lib/devos/devosSystem.nix @@ -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;