Try to fix hydra not using localhost buildMachine

This commit is contained in:
Julian Mutter 2024-12-19 08:55:49 +01:00
parent 5f2ab6958e
commit 22db460211

View File

@ -120,7 +120,7 @@
services.openssh = {
enable = true;
# require public key authentication for better security
settings.PasswordAuthentication = false;
settings.PasswordAuthentication = true;
settings.KbdInteractiveAuthentication = false;
settings.PermitRootLogin = "yes";
};
@ -153,6 +153,7 @@
nix.buildMachines = [
{
hostName = "localhost";
protocol = null;
systems = [
"x86_64-linux"
"aarch64-linux"
@ -201,7 +202,8 @@
};
virtualHosts."binarycache.julian-mutter.de" = {
locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
locations."/".proxyPass =
"http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
};
};