update config of the builder module

This commit is contained in:
Julian Mutter 2024-12-01 19:10:29 +01:00
parent 84b1a60fea
commit bb48cf3ad0

View File

@ -31,12 +31,12 @@ in
config = lib.mkIf cfg.enable {
nix.buildMachines = [
{
hostName = "192.168.3.118";
system = "x86_64-linux";
hostName = "builder.julian-mutter.de";
protocol = "ssh";
# if the builder supports building for multiple architectures,
# replace the previous line by, e.g.
# systems = ["x86_64-linux" "aarch64-linux"];
systems = [
"x86_64-linux"
"aarch64-linux"
];
maxJobs = 4;
speedFactor = 3;
supportedFeatures = [
@ -50,6 +50,6 @@ in
];
nix.distributedBuilds = true;
# optional, useful when the builder has a faster internet connection than yours
nix.extraOptions = " builders-use-substitutes = true\n";
# nix.extraOptions = " builders-use-substitutes = true\n";
};
}