adyya-flake/services/forgejo/runner.mod.nix
Ittihadyya 6b043aefa9
Some checks failed
/ nix fmt (push) Failing after 1m40s
remove useless stuff?
2024-11-26 15:30:44 +02:00

37 lines
893 B
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";
};
};
};
}
)
];
}