forgejo-runner: rename instance, rotate key and use sops

This commit is contained in:
notohh 2023-10-07 19:23:31 -04:00
parent b81e747f7a
commit 0e29454b00
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -6,7 +6,7 @@
sops.secrets.forgejo-runner-token = {};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.main = {
instances.snowflake = {
settings = {
container = {
network = "host";
@ -14,8 +14,8 @@
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.forgejo-runner-token.path;
url = "https://git.flake.sh";
token = "gdeEbeUTifa1nK7EfRgBmvm6XRdQE1zZzAatBRSC";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"