feat: Gitea Actions shell runners + flake-lock workflow
buildbot/nix-eval Build done.
buildbot/nix-build gitea:greg/nixos#checks.x86_64-linux.nixos-linode Build done.
buildbot/nix-build gitea:greg/nixos#checks.x86_64-linux.nixos-isaiah Build done.
buildbot/nix-build gitea:greg/nixos#checks.x86_64-linux.nixos-jeremiah Build done.
buildbot/nix-build gitea:greg/nixos#checks.x86_64-linux.nixos-zeke Build done.
buildbot/nix-build Build done.

- Add modules/nixos/gitea-runner.nix: NixOS module for act_runner in
  shell mode, with options for enable, instanceURL, name, labels, and
  tokenFile (agenix secret path).
- Deploy gitea-runner to jeremiah, isaiah, zeke, and linode with
  appropriate labels. Agenix secret placeholders left with TODOs.
- Add .gitea/workflows/update-flake-lock.yaml: weekly workflow (Sunday
  midnight) that runs nix flake update and opens a PR if flake.lock
  changed, using GITEA_TOKEN secret for authentication.

Closes part of #15 (NixOS shell runners + flake-lock workflow).
This commit is contained in:
2026-04-05 04:58:27 -05:00
parent 45d8154a04
commit 81936ac524
6 changed files with 55 additions and 35 deletions
+11
View File
@@ -23,6 +23,11 @@
pgloader
];
age.secrets = {
# TODO: Greg add agenix secret at secrets/gitea-runner-linode.age
# gitea-runner-linode.file = ../../../secrets/gitea-runner-linode.age;
};
greg = {
home = false;
linode.enable = true;
@@ -36,6 +41,12 @@
ssl = true;
};
tailscale.enable = true;
gitea-runner = {
enable = true;
labels = [ "self-hosted" "host:linode" ];
# TODO: Greg add agenix secret at secrets/gitea-runner-linode.age
# tokenFile = config.age.secrets.gitea-runner-linode.path;
};
};
networking = {