feat(ci): litterbox

This commit is contained in:
arcnmx 2024-02-27 13:20:55 -08:00
parent d66ab782d4
commit 49c31c1508
6 changed files with 64 additions and 4 deletions

View file

@ -64,7 +64,7 @@ in {
displayName = "flake update build";
environment = ["CACHIX_SIGNING_KEY" "GITHUB_REF"];
command = let
filteredHosts = [ "hakurei" "reimu" "aya" "tei" "mediabox" ];
filteredHosts = [ "hakurei" "reimu" "aya" "tei" "litterbox" "mediabox" ];
gcBetweenHosts = false;
nodeBuildString = concatMapStringsSep " && " (node: "nix build -Lf . nixosConfigurations.${node}.config.system.build.toplevel -o result-${node}" + optionalString gcBetweenHosts " && nix-collect-garbage -d") filteredHosts;
hostPath = builtins.getEnv "PATH";

View file

@ -25,7 +25,7 @@ with lib; {
};
jobs = let
enabledHosts = ["hakurei" "reimu" "aya" "tei" "mediabox" "ct"];
enabledHosts = ["hakurei" "reimu" "aya" "tei" "litterbox" "mediabox" "ct"];
in
mapAttrs' (k: nameValuePair "${k}") (genAttrs enabledHosts (host: {
tasks.${host}.inputs = channels.nixfiles.nixosConfigurations.${host}.config.system.build.toplevel;