mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-02 02:33:59 +01:00
Run nginx on youko as a loopback pull-through HTTP cache for cache.nixos.org and cache.numtide.com, exposed by Caddy at https://nix-cache.writefor.fun. Assisted-by: DeepSeek Harness (deepseek-flash)
12 lines
306 B
Nix
12 lines
306 B
Nix
{
|
|
nginxEnabled = true;
|
|
caddyVhostExists = true;
|
|
ustcRemainsFirst = true;
|
|
nixosProxyConfigured = true;
|
|
numtideProxyConfigured = true;
|
|
numtideDirectFallback = true;
|
|
cacheLivesOnDataVolume = true;
|
|
nixosUpstream = "https://cache.nixos.org/";
|
|
numtideUpstream = "https://cache.numtide.com/";
|
|
}
|