feat: setup distributed builds
This commit is contained in:
parent
7d042665f3
commit
f54bb71e7d
1 changed files with 14 additions and 0 deletions
|
|
@ -88,6 +88,20 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
buildMachines = [{
|
||||||
|
hostName = "lambdaOS";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
protocol = "ssh-ng";
|
||||||
|
maxJobs = 4;
|
||||||
|
speedFactor = 3;
|
||||||
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||||
|
mandatoryFeatures = [ ];
|
||||||
|
}];
|
||||||
|
distributedBuilds = true;
|
||||||
|
settings.builders-use-substitutes = true;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services."update-from-flake" = {
|
systemd.services."update-from-flake" = {
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue