Skip to content

nix: improve tutorials, add workshop exercises - #2

Merged
schonfinkel merged 8 commits into
mainfrom
improve-tutorials
Nov 16, 2026
Merged

schonfinkel merged 8 commits into
mainfrom
improve-tutorials

Conversation

@schonfinkel

Copy link
Copy Markdown
Member

No description provided.

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
schonfinkel merged commit baba80c into main Nov 16, 2026
4 checks passed
@schonfinkel
schonfinkel deleted the improve-tutorials branch November 16, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant