serve cache
This commit is contained in:
parent
739739d595
commit
3ba150a787
2 changed files with 16 additions and 0 deletions
|
|
@ -28,6 +28,15 @@
|
|||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue