serve cache
This commit is contained in:
parent
739739d595
commit
3ba150a787
2 changed files with 16 additions and 0 deletions
|
|
@ -14,6 +14,13 @@ in
|
|||
{
|
||||
nix = lib.mkIf (hasSecret "nix2lio") {
|
||||
distributedBuilds = true;
|
||||
|
||||
# Prefer pulling from lio's binary cache when available.
|
||||
settings = {
|
||||
substituters = lib.mkAfter [ "http://lio:5000" ];
|
||||
trusted-public-keys = lib.mkAfter [ "lio:9jKQ2xJyZjD0AWFzMcLe5dg3s8vOJ3uffujbUkBg4ms=" ];
|
||||
};
|
||||
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "lio";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue