fixed forgejo ci-runner

This commit is contained in:
Lyn 2024-09-06 06:52:04 +02:00
parent 4f1447a5de
commit a12174a4aa
2 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@
./../../meta/profiles/base.nix
./../../meta/profiles/vm.nix
];
lyn.sops.secrets."hosts/frottjo-ci-runner/forgejo_ci-token".owner = "gitea-runner";
lyn.sops.secrets."hosts/forgejo-ci/forgejo_ci_token" = {};
# Use UEFI
boot.loader.systemd-boot.enable = true;
@ -16,4 +16,5 @@
# Firewall stuff:
networking.firewall.enable = true;
networking.firewall.allowPing = true;
}
system.stateVersion = "23.05";
}

View file

@ -2,8 +2,6 @@
{
environment.systemPackages = with pkgs; [
docker
forgejo-actions-runner
];
# Enable docker
@ -16,14 +14,15 @@
};
# Forgejo actions runner
services.gitea-actions-runner = {
package = config.pkgsInstances.unstable.forgejo-runner;
instances = {
"shibepro-ci" = {
enable = true;
url = "https://git.shibe.pro";
name = "shibepro-ci";
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci-token".path;
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci_token".path;
labels = [];
};
};
};
}
}