Add a "wip" target in nix_builder for testing updates.

This commit is contained in:
Tom Alexander
2026-11-12 13:56:38 -05:00
parent 9ffa43acbb
commit f3e78d5226
3 changed files with 17 additions and 1 deletions

View File

@@ -142,7 +142,15 @@
}) (nixpkgs.lib.attrsets.filterAttrs (hostname: nodeConfig: nodeConfig.system == system) nodes)
);
in
(
machines
// {
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
name = "wip";
paths = [ self.nixosConfigurations."odo".config.system.build.toplevel ];
};
}
)
)
);
};

View File

@@ -80,6 +80,7 @@ in
systemd.services."build-cache" =
let
enabled_targets = [
"wip"
"odo"
"odo_update"
"odowork"

View File

@@ -1,5 +1,12 @@
output_directory = "/home/nixworker/persist/nix_builder"
[[targets]]
name = "wip"
repo = "https://code.fizz.buzz/talexander/machine_setup.git"
branch = "wip"
path = "nix/configuration"
attr = "wip"
[[targets]]
name = "odo"
repo = "https://code.fizz.buzz/talexander/machine_setup.git"