Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure NixOS for build4 x86 Ficolo builder #59

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
13 changes: 13 additions & 0 deletions hosts/ficolobuild/build4.nix
Original file line number Diff line number Diff line change
@@ -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";
}
4 changes: 4 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading