nixos/porcorosso: add totoro as a builder

This commit is contained in:
Luke Granger-Brown 2020-07-19 18:47:40 +01:00
parent 24ba5c1c36
commit a71cb99af8
2 changed files with 11 additions and 2 deletions

View file

@ -2,10 +2,10 @@
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }: { lib, ... }:
{ {
# Distributed builds! # Distributed builds!
nix.buildMachines = [ { nix.buildMachines = lib.mkAfter [ {
hostName = "whitby"; hostName = "whitby";
system = "x86_64-linux"; system = "x86_64-linux";
maxJobs = 64; maxJobs = 64;

View file

@ -226,6 +226,15 @@ in {
host all all ::1/128 trust host all all ::1/128 trust
''; '';
nix.buildMachines = [ {
hostName = "totoro";
system = "x86_64-linux";
maxJobs = 4;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}];
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database