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