wip
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Jermeiah S 2025-06-19 21:45:48 -04:00
parent 20955ecb62
commit f401e5864d
No known key found for this signature in database
2 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,5 @@
{
lib,
flake,
modulesPath,
config,
@ -21,20 +22,22 @@ in
trusted-users = [ "gitea-runner" ];
};
sops.secrets.forgejo-runners-token = {
owner = "gitea-runner";
group = "gitea-runner";
# owner = "gitea-runner";
# group = "gitea-runner";
mode = "0777";
};
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances = {
native = {
enable = true;
url = "https://git.skdevstuios.com";
url = "https://git.skdevstudios.com";
name = "nix";
labels = [ "nix:host" ];
labels = [ "native:host" ];
tokenFile = config.sops.secrets.forgejo-runners-token.path;
hostPackages = with pkgs; [
nix
opentofu
nodejs
git
bash
@ -52,6 +55,7 @@ in
tty-ips.enable = true;
};
networking = {
firewall.enable = lib.mkForce false;
hostName = "base";
};
environment.systemPackages = [