raise priority of cache.orbi.wg0
This commit is contained in:
parent
e717d0081e
commit
ccec2860ec
2 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@
|
||||||
({ pkgs, lib, clanLib, ... }:
|
({ pkgs, lib, clanLib, ... }:
|
||||||
{
|
{
|
||||||
nix.settings.substituters = [
|
nix.settings.substituters = [
|
||||||
"http://cache.orbi.wg0/"
|
"http://cache.orbi.wg0"
|
||||||
];
|
];
|
||||||
nix.settings.trusted-public-keys = [
|
nix.settings.trusted-public-keys = [
|
||||||
(clanLib.readFact "nix-serve.pub" "orbi")
|
(clanLib.readFact "nix-serve.pub" "orbi")
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
alias ${pkgs.writeText "cache-info" ''
|
alias ${pkgs.writeText "cache-info" ''
|
||||||
StoreDir: /nix/store
|
StoreDir: /nix/store
|
||||||
WantMassQuery: 1
|
WantMassQuery: 1
|
||||||
Priority: 42
|
Priority: 10
|
||||||
''};
|
''};
|
||||||
allow ${config.wireguard.wg0.subnet};
|
allow ${config.wireguard.wg0.subnet};
|
||||||
deny all;
|
deny all;
|
||||||
|
|
Loading…
Reference in a new issue