-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use only Nix? #9
Comments
On Fri, Mar 18, 2016 at 05:37:17AM -0700, Wout Mertens wrote:
I think a good deal of this could be changed to Nix, but certainly Nix If you'd like to cook up an Nix version, we can definitely talk about |
@elitak made a sort of nixos-in-place with just Nix, see NixOS/nixpkgs#2079 (comment) and the ensuing discussion. Basically, you can build nixos-install while running on the host OS and then run it. |
Note: I'm giving something like this a shot again, and so far I came up with
to get nixos-generate-config from a regular nix install. nixos-install is the same. So this just needs the nixos-in-place.nix configuration and a wrapper to call everything. It would probably be better to move the installer scripts to a regular package though, that's easier than the above, and then it'd be something like |
I wonder, wouldn't it be more efficient to install Nix (as root) and then install the necessary packages for stage1 and 2 using Nix? Then there wouldn't be a need to download the ISO or to have squashfs.
The packages that make the ISO can simply be installed from the nixos channel, right?
The text was updated successfully, but these errors were encountered: