fix: nodes???

This commit is contained in:
Kat Inskip 2024-07-13 16:49:41 -07:00
parent 09f06b3869
commit 2e4bb0cc06
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 218 additions and 34 deletions

View file

@ -40,7 +40,6 @@ in {
env = {
CACHIX_SIGNING_KEY = "\${{ secrets.CACHIX_SIGNING_KEY }}";
DISCORD_WEBHOOK_LINK = "\${{ secrets.DISCORD_WEBHOOK_LINK }}";
NF_UPDATE_GIT_COMMIT = "1";
NF_UPDATE_CACHIX_PUSH = "1";
NF_CONFIG_ROOT = "\${{ github.workspace }}";
};
@ -51,11 +50,13 @@ in {
in nixosBuildJobs;
};
jobs = {
flake-update = { ... }: {
imports = [ ./packages.nix ];
};
};
jobs = let
genericNixosBuildJob = name: system: nameValuePair "${name}" ({ ... }: {
imports = [ ./packages.nix ];
});
enabledNixosSystems = filterAttrs (_: system: system.config.ci.enable) channels.nixfiles.systems;
nixosBuildJobs = mapAttrs' genericNixosBuildJob enabledNixosSystems;
in nixosBuildJobs;
ci.gh-actions.checkoutOptions = {
fetch-depth = 0;