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