From e46af2a998f247ee8d982698be23f91a0a5d8911 Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Thu, 2 Jul 2026 22:21:56 -0700 Subject: [PATCH] Document DNS-based early cache hints --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 734cd89..a9e4a0d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ the AMI: ```nix { quixosEarlyBuildNixConfig = { - substituters = [ "http://[2600:...]/cache" ]; + substituters = [ "http://nix-cache.internal.example.org/cache" ]; trustedPublicKeys = [ "nix-cache.internal.example.org-1:..." ]; }; } @@ -35,9 +35,9 @@ the AMI: The AMI runner evaluates this output after writing `/etc/nixos/flake.nix` and passes the substituters and trusted public keys through `NIX_CONFIG` only for the first `nixos-rebuild switch`. It does not mutate `/etc/hosts`; first-boot -substituters that need private addressing should use a direct address URL. The -target NixOS configuration should still declare the normal hostname-based cache -in `nix.settings` and `networking.hosts` for all later rebuilds. +substituter hostnames must already resolve through DNS. The target NixOS +configuration should still declare the same cache in `nix.settings` for all +later rebuilds. ## Publish