Binary Cache should almost work now. Switched to older Kernel on Lilim.
This commit is contained in:
parent
6fe0cbebe2
commit
782cd1efae
4 changed files with 25 additions and 9 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
with lib;
|
||||
|
||||
mkIf (elem "hydra" config.machine.services) {
|
||||
mkIf (elem "hydra" config.machine.services) rec {
|
||||
# also take a look at ../conf/nix.nix
|
||||
nix.buildMachines = [
|
||||
{
|
||||
|
@ -43,4 +43,16 @@ mkIf (elem "hydra" config.machine.services) {
|
|||
upload_logs_to_binary_cache = true
|
||||
'';
|
||||
};
|
||||
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
bindAddress = "172.0.0.1";
|
||||
port = 5000;
|
||||
secretKeyFile = "/secret/hydra_cache";
|
||||
extraParams = ''
|
||||
# Dont know how to change the store root yet...
|
||||
# --user hydra-queue-runner
|
||||
# --group hydra
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue