digga icon indicating copy to clipboard operation
digga copied to clipboard

Fully air gapped install iso

Open Pacman99 opened this issue 4 years ago • 3 comments
trafficstars

Expected Behavior

A built iso should be able to install a host without any network access.

Current Behavior

There seems to be some dependencies still installed over the network. And nix tries to update inputs even though they are pinned.

Possible Solution

  • Add drvPath to storeContents(results in really large iso)

Steps to Reproduce

  1. create iso
  2. try to install

Context

#202 Lots of discussion there for this. And this issue is a continuation off of a goal that we weren't able to accomplish there.

cc @blaggacao @nrdxp


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Pacman99 avatar Mar 22 '21 22:03 Pacman99

I'll just reiterate here that this may be as simple as either: A. patching nixos-install B. using flk.sh to work around the pecuiliar nixos-install behavior

nrdxp avatar Mar 23 '21 05:03 nrdxp

@blaggacao didn't you say you were able to do this with the current state of isoConfig? I think this can be closed.

Pacman99 avatar Apr 26 '21 20:04 Pacman99

As far as I remember, the nixos-install has one command that does not very much respect the --lffline switch, if I remember correctly in a stupid way, that mjght be easily fixable.

I might get around this at some point again to propose a solution either here or upstream.

blaggacao avatar Apr 27 '21 00:04 blaggacao