adyya-flake/services/forgejo/runner.mod.nix
Ittihadyya d5a9b7bbcf
Some checks failed
/ nix fmt (push) Failing after 12s
Update .lock file / flake-update (push) Failing after 15s
add flake update workflow and change to use local mirror of actions
2024-11-26 14:18:21 +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";
};
};
};
}
)
];
}