digga
digga copied to clipboard
Fully air gapped install iso
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
- create iso
- 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.
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
@blaggacao didn't you say you were able to do this with the current state of isoConfig? I think this can be closed.
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.