diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml index 508e7949..b0df345b 100644 --- a/.github/workflows/flake-update.yml +++ b/.github/workflows/flake-update.yml @@ -96,3 +96,4 @@ name: flake-update - .github/workflows/flake-update.yml schedule: - cron: 0 0 * * * + workflow_dispatch: {} diff --git a/ci/flake-cron.nix b/ci/flake-cron.nix index 833ef846..cd667dd2 100644 --- a/ci/flake-cron.nix +++ b/ci/flake-cron.nix @@ -45,6 +45,7 @@ in { cron = "0 0 * * *"; } ]; + workflow_dispatch = { }; }; }; @@ -66,7 +67,7 @@ in { command = let 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; + nodeBuildString = concatMapStringsSep " && " (node: "nix build --show-trace -Lf . nixosConfigurations.${node}.config.system.build.toplevel -o result-${node}" + optionalString gcBetweenHosts " && nix-collect-garbage -d") filteredHosts; hostPath = builtins.getEnv "PATH"; in '' # ${toString builtins.currentTime}