forgejo: move runner to yuki

This commit is contained in:
notohh 2023-10-07 17:03:18 -04:00
parent ce570b6ed3
commit 6e7fc97959
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -4,7 +4,6 @@
config,
...
}: {
sops.secrets.forgejo-runner-token = {owner = "forgejo";};
services.forgejo = {
enable = true;
stateDir = "/var/lib/forgejo";
@ -43,25 +42,4 @@
};
};
};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.main = {
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = config.sops.secrets.forgejo-runner-token.path;
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}