From 84a6dd2c8f0016225dc08cddae4ce94968ee8cc1 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 11 Sep 2024 10:34:52 +0700 Subject: [PATCH] :wrench: cache.orbi.wg0: 10 -> 50 --- machines/orbi/service-nix-cache.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/machines/orbi/service-nix-cache.nix b/machines/orbi/service-nix-cache.nix index 950e200..b4cabc8 100644 --- a/machines/orbi/service-nix-cache.nix +++ b/machines/orbi/service-nix-cache.nix @@ -40,11 +40,13 @@ allow ${config.wireguard.wg0.subnet}; deny all; ''; + # curl https://cache.nixos.org/nix-cache-info + # lower priority means ask first. locations."= /nix-cache-info".extraConfig = '' alias ${pkgs.writeText "cache-info" '' StoreDir: /nix/store WantMassQuery: 1 - Priority: 10 + Priority: 50 ''}; allow ${config.wireguard.wg0.subnet}; deny all;