From f7c31012c0f618c49cf651c619446595b855cd0c Mon Sep 17 00:00:00 2001 From: Marko Kaapu Date: Tue, 23 Jan 2024 13:41:36 +0200 Subject: [PATCH] Configure NixOS for build4 x86 Ficolo builder Signed-off-by: Marko Kaapu --- hosts/default.nix | 4 ++++ hosts/ficolobuild/build4.nix | 13 +++++++++++++ tasks.py | 4 ++++ 3 files changed, 21 insertions(+) create mode 100644 hosts/ficolobuild/build4.nix diff --git a/hosts/default.nix b/hosts/default.nix index d2519d6e..6ec1a614 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -36,6 +36,10 @@ inherit specialArgs; modules = [./ficolobuild/build3.nix]; }; + ficolobuild4 = lib.nixosSystem { + inherit specialArgs; + modules = [./ficolobuild/build4.nix]; + }; prbuilder = lib.nixosSystem { inherit specialArgs; modules = [./prbuilder/configuration.nix]; diff --git a/hosts/ficolobuild/build4.nix b/hosts/ficolobuild/build4.nix new file mode 100644 index 00000000..5112858a --- /dev/null +++ b/hosts/ficolobuild/build4.nix @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: 2024 Technology Innovation Institute (TII) +# SPDX-License-Identifier: Apache-2.0 +# +{...}: { + imports = [ + # Import Ficolo x86 builder specific configuration + ./builder.nix + ]; + + # build4 specific configuration + + networking.hostName = "build4"; +} diff --git a/tasks.py b/tasks.py index f3a1f23a..088a8a9c 100644 --- a/tasks.py +++ b/tasks.py @@ -88,6 +88,10 @@ class TargetHost: hostname="172.18.20.104", nixosconfig="ficolobuild3", ), + "build4-ficolo": TargetHost( + hostname="172.18.20.105", + nixosconfig="ficolobuild4", + ), "prbuilder": TargetHost( hostname="172.18.20.106", nixosconfig="prbuilder",