forgejo: use sops for runner token
All checks were successful
/ test (push) Successful in 2s
All checks were successful
/ test (push) Successful in 2s
This commit is contained in:
parent
c2392d759c
commit
ff62d8cefb
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
sops.secrets.forgejo-runner-token = {owner = "forgejo";};
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
stateDir = "/var/lib/forgejo";
|
stateDir = "/var/lib/forgejo";
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
name = config.networking.hostName;
|
name = config.networking.hostName;
|
||||||
url = "https://git.flake.sh";
|
url = "https://git.flake.sh";
|
||||||
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX";
|
token = config.sops.secrets.forgejo-runner-token.path;
|
||||||
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