Repository navigation
nix: improve tutorials, add workshop exercises - #2
Merged
Merged
Conversation
Add the standalone 30-minute web-server lab (nginx serving the course static site, two prebuilt system versions, switch and rollback), share its guest settings with the training VMs, and preload the guest image: - register the preloaded closure in the guest Nix database at boot and copy a writable workspace for the gambi user - ship the exact locked nixpkgs source path so Nix >= 2.35 resolves the pin from the store with no download, and pin the guest to nixVersions.nix_2_35 accordingly - prebuild both workshop web systems plus the exercise packages and build environments instead of retaining the whole NixOS build closure - extend the image check to run the core exercises and the web-lab switch/rollback cycle with guest networking restricted, on both x86_64 and aarch64 images
- rework module 07 around the web lab: build vs activate, VM entry points, and the two-machine integration test as an optional extension - rewrite module-system evaluation examples against nixosConfigurations instead of <nixpkgs> lookups - port module 08 to the flake workflow: disko as a flake input with follows, nixos-anywhere --flake, and flake-based rebuild/target-host commands; mark the Terraform walkthrough as historical reference - update both READMEs for the offline image guarantees, VM memory guidance, and the workspace preload
schonfinkel
force-pushed
the
improve-tutorials
branch
from
November 16, 2026 11:36
730d80c to
6d857ea
Compare
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.
No description provided.