adyya-flake/services/forgejo/runner.mod.nix

41 lines
1.3 KiB
Nix

{
sucrose.modules = [
(
{
pkgs,
config,
lib,
...
}: {
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
/*
instances = {
${config.networking.hostName} = {
enable = true;
hostPackages = with pkgs;
lib.mkDefault [
bash
coreutils
curl
gawk
gitMinimal
gnused
wget
nix
];
labels = [];
name = config.networking.hostName;
settings = {};
tokenFile = config.sops.templates."forgejo_runner.env.secrets.yaml".path;
url = "https://git.collective-conciousness.monster";
};
};
*/
};
}
)
];
}
# this isn't working at all, right now. For some reasom fructose fails to start the containers when podman dns isn't enabled, but if it is, pihole fails to bind to :53, i'll probably have to just change the pihole port and enable podman dns? anyways, besides that, glucose doesn't work *at all* with the runner, it never did, so i really should figure that out at some point. :TODO