2020-05-01 18:44:05 +02:00
|
|
|
with builtins;
|
2019-08-10 12:43:48 +01:00
|
|
|
let
|
2020-04-17 23:19:05 +02:00
|
|
|
secrets = import ./secrets.nix;
|
2020-05-01 18:44:05 +02:00
|
|
|
|
|
|
|
# Copied from <nixpkgs/lib>
|
|
|
|
removeSuffix = suffix: str:
|
|
|
|
let
|
|
|
|
sufLen = stringLength suffix;
|
|
|
|
sLen = stringLength str;
|
|
|
|
in
|
|
|
|
if
|
|
|
|
sufLen <= sLen && suffix == substring (sLen - sufLen) sufLen str
|
|
|
|
then
|
|
|
|
substring 0 (sLen - sufLen) str
|
|
|
|
else
|
|
|
|
str;
|
|
|
|
|
2020-01-22 12:37:13 +01:00
|
|
|
in
|
|
|
|
{
|
2019-08-10 12:43:48 +01:00
|
|
|
network.description = "nix-community infra";
|
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
build01 = { ... }: {
|
|
|
|
imports = [
|
|
|
|
./build01/configuration.nix
|
|
|
|
];
|
2021-04-21 08:49:18 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
deployment.targetHost = "94.130.143.84";
|
|
|
|
};
|
2021-04-21 08:49:18 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
build02 = { ... }: {
|
|
|
|
imports = [
|
|
|
|
./build02/configuration.nix
|
|
|
|
];
|
2021-05-05 08:29:47 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
deployment.targetHost = "95.217.109.189";
|
|
|
|
};
|
2021-05-05 08:29:47 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
build03 = { ... }: {
|
|
|
|
imports = [
|
|
|
|
./build03/configuration.nix
|
|
|
|
];
|
2021-05-05 08:29:47 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
deployment.targetHost = "build03.nix-community.org";
|
|
|
|
};
|
2021-08-17 20:31:59 +02:00
|
|
|
|
2021-09-25 22:35:51 +02:00
|
|
|
build04 = { ... }: {
|
|
|
|
imports = [
|
|
|
|
./build04/configuration.nix
|
|
|
|
];
|
|
|
|
deployment.targetHost = "158.101.223.107";
|
|
|
|
};
|
2019-08-10 12:43:48 +01:00
|
|
|
}
|