adyya-flake/services/forgejo/runner.mod.nix
Ittihadyya ec9143f3ad
Some checks failed
/ nix fmt (push) Has been cancelled
why the ffuck is this not working?
2024-11-26 13:52:46 +02:00

40 lines
952 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
nixfmt-rfc-style
];
labels = [ ];
name = config.networking.hostName;
settings = { };
tokenFile = config.sops.templates."forgejo_runner.env.secrets.yaml".path;
url = "https://git.collective-conciousness.monster";
};
};
};
}
)
];
}