This commit is contained in:
parent
9d2c1aa4df
commit
ec9143f3ad
7 changed files with 126 additions and 107 deletions
|
@ -1,30 +1,40 @@
|
|||
{
|
||||
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";
|
||||
(
|
||||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue