secrets: migrate forgejo runner to sops

This commit is contained in:
Leonardo Eugênio 2026-02-15 03:29:38 -03:00
parent 48e40c47e4
commit ed510001fd
4 changed files with 1 additions and 3 deletions

View file

@ -6,7 +6,7 @@
enable = true;
name = "monolith";
url = "https://git.lelgenio.com";
tokenFile = config.age.secrets.monolith-forgejo-runner-token.path;
tokenFile = config.sops.secrets."forgejo-runners/git.lelgenio.com-default".path;
labels = [
# provide a debian base with nodejs for actions
"debian-latest:docker://node:18-bullseye"

View file

@ -2,7 +2,6 @@
{
age = {
identityPaths = [ "/root/.ssh/id_rsa" ];
secrets.monolith-forgejo-runner-token.file = ../secrets/monolith-forgejo-runner-token.age;
secrets.monolith-nix-serve-privkey.file = ../secrets/monolith-nix-serve-privkey.age;
};
}