From ccec2860ec6b6a38f0712c116226bf1eb4289562 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 7 Aug 2024 08:39:02 +0200 Subject: [PATCH] raise priority of cache.orbi.wg0 --- flake.nix | 2 +- machines/orbi/service-nix-cache.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c3d67be..c62bc0d 100644 --- a/flake.nix +++ b/flake.nix @@ -247,7 +247,7 @@ ({ pkgs, lib, clanLib, ... }: { nix.settings.substituters = [ - "http://cache.orbi.wg0/" + "http://cache.orbi.wg0" ]; nix.settings.trusted-public-keys = [ (clanLib.readFact "nix-serve.pub" "orbi") diff --git a/machines/orbi/service-nix-cache.nix b/machines/orbi/service-nix-cache.nix index c0d8e91..56aa684 100644 --- a/machines/orbi/service-nix-cache.nix +++ b/machines/orbi/service-nix-cache.nix @@ -36,7 +36,7 @@ alias ${pkgs.writeText "cache-info" '' StoreDir: /nix/store WantMassQuery: 1 - Priority: 42 + Priority: 10 ''}; allow ${config.wireguard.wg0.subnet}; deny all;