blob: c2b65b67fd70d5205c75c105da4a30508467c7df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
config,
self,
...
}: let
inherit (config.networking) hostName;
in {
age.secrets = {
"${hostName}2atlas" = {
file = "${self}/secrets/hosts/${hostName}/${hostName}2atlas.age";
mode = "600";
};
};
nix = {
buildMachines = [
{
hostName = "atlas";
maxJobs = 4;
sshUser = "bob";
sshKey = config.age.secrets."${hostName}2atlas".path;
supportedFeatures = ["benchmark" "big-parallel" "gccarch-armv8-a" "kvm" "nixos-test"];
systems = ["aarch64-linux" "x86_64-linux" "i686-linux"];
}
];
settings.builders-use-substitutes = true;
};
}
|