nix.dev
nix.dev copied to clipboard
expand on nixos configuration testing
this is a split off from https://github.com/NixOS/nix.dev/pull/274 This PR focus on the document that is originally written by @domenkozar and the expansion on its topic.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
@domenkozar I am not sure what to do about the CLA i did follow the instruction in my previous PRs but it seems CLAssistant is failing anyway.
I have read the CLA Document and I hereby sign the CLA
recheck
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-06-19-documentation-team-meeting-notes-56/29339/1
Reviewed together in the docs team meeting. Though not fully done.
@olafklingt Do you still have time to work on this? It would be great if you could improve the NixOS manual reference docs side of this, so this tutorial can be smaller.
@infinisil thanks for the review. I will have a look at them and see what I can do in the manual.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-06-19-documentation-team-meeting-notes-56/29339/3
The framework has been updated with a new entrypoint, see https://nixos.org/manual/nixos/unstable/#sec-calling-nixos-tests
Note also that with flakes nixos-lib is also nixpkgs.lib.nixos where nixpkgs is the Nixpkgs flake.
Or for a Nixpkgs-first approach, see testers.runNixOSTest
Thank you @fricklerhandwerk