1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

Fetch flake-registry.json from channels.nixos.org

Using fastly is slightly faster, provides some resilience due to a
high stale TTL, and allows some usage metrics.
This commit is contained in:
Eelco Dolstra 2022-06-23 23:56:26 +02:00
parent 3c57db1a0f
commit 4b6cc3da62
2 changed files with 8 additions and 8 deletions

View file

@ -70,7 +70,7 @@ struct FetchSettings : public Config
Setting<bool> warnDirty{this, true, "warn-dirty",
"Whether to warn about dirty Git/Mercurial trees."};
Setting<std::string> flakeRegistry{this, "https://github.com/NixOS/flake-registry/raw/master/flake-registry.json", "flake-registry",
Setting<std::string> flakeRegistry{this, "https://channels.nixos.org/flake-registry.json", "flake-registry",
"Path or URI of the global flake registry."};
Setting<bool> useRegistries{this, true, "use-registries",