🔧 cache.orbi.wg0: 10 -> 50

This commit is contained in:
Ingolf Wagner 2024-09-11 10:34:52 +07:00
parent abe153cdce
commit 84a6dd2c8f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -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;