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,
|
||||
...
|
||||
}: {
|
||||
sops.secrets.forgejo-runner-token = {owner = "forgejo";};
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
stateDir = "/var/lib/forgejo";
|
||||
|
@ -40,7 +41,7 @@
|
|||
enable = true;
|
||||
name = config.networking.hostName;
|
||||
url = "https://git.flake.sh";
|
||||
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX";
|
||||
token = config.sops.secrets.forgejo-runner-token.path;
|
||||
labels = [
|
||||
"debian-latest:docker://node:18-bullseye"
|
||||
"ubuntu-latest:docker://node:18-bullseye"
|
||||
|
|
Loading…
Reference in a new issue