nixos-init: read required data from boot.json#473273
Merged
nikstur merged 2 commits intoNixOS:staging-nixosfrom Jan 26, 2026
Merged
nixos-init: read required data from boot.json#473273nikstur merged 2 commits intoNixOS:staging-nixosfrom
nikstur merged 2 commits intoNixOS:staging-nixosfrom
Conversation
944515f to
4f1d915
Compare
nikstur
reviewed
Dec 24, 2025
3f4ec0d to
cd0018a
Compare
0b9bf11 to
0bb0bda
Compare
Contributor
Author
|
Fixed, we use nixos-init for the find-etc service even if nixos-init isn't explicitly activated, so we need the extra bootspec extension independently of whether nixos-init is enabled. |
0bb0bda to
7c92a08
Compare
nikstur
reviewed
Jan 11, 2026
Contributor
nikstur
left a comment
There was a problem hiding this comment.
we use nixos-init for the find-etc service even if nixos-init isn't explicitly activated, so we need the extra bootspec extension independently of whether nixos-init is enabled.
This effectively makes the systemd initrd depend on bootspec now. Since the systemd-boot builder already depends on bootspec, however, this is fine IMO.
7c92a08 to
d25750f
Compare
d25750f to
91d5f8b
Compare
nikstur
approved these changes
Jan 24, 2026
…ad of from the environment This is a first step towards using nixos-init also during re-activation.
91d5f8b to
8924995
Compare
Merged
via the queue into
NixOS:staging-nixos
with commit Jan 26, 2026
38afce7
32 of 34 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR does two things:
/as the prefix. This is a first step to be able to re-use nixos-init during reactivation.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.