Things
This commit is contained in:
parent
a2681cc220
commit
d1b74a5bf6
17 changed files with 675 additions and 74 deletions
|
@ -2,11 +2,14 @@
|
|||
config,
|
||||
lib,
|
||||
fleetFlake,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nix = {
|
||||
optimise.automatic = true;
|
||||
|
||||
package = pkgs.nixUnstable;
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
trusted-users = [
|
||||
|
@ -66,24 +69,23 @@
|
|||
};
|
||||
|
||||
distributedBuilds = true;
|
||||
buildMachines =
|
||||
(lib.lists.optional (config.networking.hostName == "picard") {
|
||||
hostName = "sisko.fleet";
|
||||
system = "aarch64-linux";
|
||||
maxJobs = 4;
|
||||
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||||
protocol = "ssh-ng";
|
||||
sshUser = "root";
|
||||
sshKey = "/home/${config.ccr.username}/.ssh/id_rsa";
|
||||
})
|
||||
++ (lib.lists.optional (config.networking.hostName == "picard") {
|
||||
hostName = "mac.staging.mlabs.city";
|
||||
system = "x86_64-darwin";
|
||||
maxJobs = 4;
|
||||
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||||
protocol = "ssh-ng";
|
||||
sshUser = "root";
|
||||
sshKey = "/home/${config.ccr.username}/.ssh/id_rsa";
|
||||
});
|
||||
buildMachines = lib.lists.optional (config.networking.hostName == "picard") {
|
||||
hostName = "sisko.fleet";
|
||||
system = "aarch64-linux";
|
||||
maxJobs = 4;
|
||||
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||||
protocol = "ssh-ng";
|
||||
sshUser = "root";
|
||||
sshKey = "/home/${config.ccr.username}/.ssh/id_rsa";
|
||||
};
|
||||
# ++ (lib.lists.optional (config.networking.hostName == "picard") {
|
||||
# hostName = "mac.staging.mlabs.city";
|
||||
# system = "x86_64-darwin";
|
||||
# maxJobs = 4;
|
||||
# supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||||
# protocol = "ssh-ng";
|
||||
# sshUser = "root";
|
||||
# sshKey = "/home/${config.ccr.username}/.ssh/id_rsa";
|
||||
# });
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue