Compare commits
No commits in common. "200fe2b85ed48c13a74d812038faa2274a843a69" and "739739d5956d26b9ed32614743b6e0b56c755fa2" have entirely different histories.
200fe2b85e
...
739739d595
2 changed files with 0 additions and 16 deletions
|
|
@ -14,13 +14,6 @@ in
|
||||||
{
|
{
|
||||||
nix = lib.mkIf (hasSecret "nix2lio") {
|
nix = lib.mkIf (hasSecret "nix2lio") {
|
||||||
distributedBuilds = true;
|
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 = [
|
buildMachines = [
|
||||||
{
|
{
|
||||||
hostName = "lio";
|
hostName = "lio";
|
||||||
|
|
|
||||||
|
|
@ -28,15 +28,6 @@
|
||||||
# STOP_CHARGE_THRESH_BAT0 = 95;
|
# STOP_CHARGE_THRESH_BAT0 = 95;
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# Binary cache server (drop-in nix-serve replacement)
|
|
||||||
nix-serve = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nix-serve-ng;
|
|
||||||
port = 5000;
|
|
||||||
# openFirewall = true;
|
|
||||||
secretKeyFile = "/var/lib/nix-serve/cache-priv-key.pem";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Also allow this key to work for root user, this will let us use this as a remote builder easier
|
# Also allow this key to work for root user, this will let us use this as a remote builder easier
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue