Compare commits
1 Commits
d5f5fe75bd
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e46af2a998 |
@@ -26,7 +26,7 @@ the AMI:
|
|||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
quixosEarlyBuildNixConfig = {
|
quixosEarlyBuildNixConfig = {
|
||||||
substituters = [ "http://[2600:...]/cache" ];
|
substituters = [ "http://nix-cache.internal.example.org/cache" ];
|
||||||
trustedPublicKeys = [ "nix-cache.internal.example.org-1:..." ];
|
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
|
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
|
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
|
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
|
substituter hostnames must already resolve through DNS. The target NixOS
|
||||||
target NixOS configuration should still declare the normal hostname-based cache
|
configuration should still declare the same cache in `nix.settings` for all
|
||||||
in `nix.settings` and `networking.hosts` for all later rebuilds.
|
later rebuilds.
|
||||||
|
|
||||||
## Publish
|
## Publish
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user