Skip to content

Commit

Permalink
wip: copy devShell storepath to iso
Browse files Browse the repository at this point in the history
problem: system dependent
  • Loading branch information
David Arnold committed Mar 16, 2021
1 parent 17aee57 commit 276d8ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/devos/devosSystem.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, nixos, self, inputs, ... }:
{ lib, nixos, self, inputs, config, ... }:

{ modules, ... } @ args:
lib.nixosSystem (args // {
Expand All @@ -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;
Expand Down

0 comments on commit 276d8ef

Please sign in to comment.