Skip to content

nixos/nixos-init: add more strict assertions for required config#450775

Merged
emilazy merged 1 commit intoNixOS:masterfrom
nikstur:nixos-init-assert
Oct 12, 2025
Merged

nixos/nixos-init: add more strict assertions for required config#450775
emilazy merged 1 commit intoNixOS:masterfrom
nikstur:nixos-init-assert

Conversation

@nikstur
Copy link
Contributor

@nikstur nikstur commented Oct 10, 2025

Fixes #450765

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Oct 10, 2025
@emilazy emilazy added this pull request to the merge queue Oct 12, 2025
Merged via the queue into NixOS:master with commit 7f9a83b Oct 12, 2025
27 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nixos-init: fails to setup /etc on an empty root, resulting in a failure to systemctl switch-root

3 participants