forgejo-runner: rename instance, rotate key and use sops
This commit is contained in:
parent
b81e747f7a
commit
0e29454b00
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue