From 4115e95bb63aed951724d5f705571bcb06460f9d Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 29 Mar 2026 21:31:40 -0400 Subject: [PATCH] Add a build of nixbsd to nix_builder. --- nix/configuration/roles/hydra/default.nix | 2 +- nix/configuration/roles/hydra/files/nix_builder.toml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nix/configuration/roles/hydra/default.nix b/nix/configuration/roles/hydra/default.nix index b02d0737..0f791f84 100644 --- a/nix/configuration/roles/hydra/default.nix +++ b/nix/configuration/roles/hydra/default.nix @@ -110,7 +110,7 @@ in IFS=$'\n\t' DIR="$( cd "$( dirname "''${BASH_SOURCE[0]}" )" && pwd )" - NIX_REMOTE='local?root=/home/nixworker/persist/root' RUST_BACKTRACE=1 RUST_LOG=nix_builder=DEBUG ${nix_builder}/bin/nix-builder build --config ${./files/nix_builder.toml} --target odo --target odo_update --target odowork --target odowork_update --target quark --target quark_update --target hydra --target hydra_update --target controller0 --target controller0_update --target controller1 --target controller1_update --target controller2 --target controller2_update --target worker0 --target worker0_update --target worker1 --target worker1_update --target worker2 --target worker2_update --target family_disks --target family_disks_update + NIX_REMOTE='local?root=/home/nixworker/persist/root' RUST_BACKTRACE=1 RUST_LOG=nix_builder=DEBUG ${nix_builder}/bin/nix-builder build --config ${./files/nix_builder.toml} --target odo --target odo_update --target odowork --target odowork_update --target quark --target quark_update --target hydra --target hydra_update --target controller0 --target controller0_update --target controller1 --target controller1_update --target controller2 --target controller2_update --target worker0 --target worker0_update --target worker1 --target worker1_update --target worker2 --target worker2_update --target family_disks --target family_disks_update --target nixbsd ''; restartIfChanged = false; serviceConfig = { diff --git a/nix/configuration/roles/hydra/files/nix_builder.toml b/nix/configuration/roles/hydra/files/nix_builder.toml index da1e243f..27e589e8 100644 --- a/nix/configuration/roles/hydra/files/nix_builder.toml +++ b/nix/configuration/roles/hydra/files/nix_builder.toml @@ -177,3 +177,10 @@ output_directory = "/home/nixworker/persist/nix_builder" attr = "nixosConfigurations.family_disks.config.system.build.toplevel" update = true update_branch = "nix_update" + +[[targets]] + name = "nixbsd" + repo = "https://github.com/nixos-bsd/nixbsd.git" + revision = "828ff7a3c4ee91f548de65a963fca40eaedb171c" + path = "." + attr = "base.vmClosureInfo"