Flake is now modular and supports forgejo and forgejo-ci-runner #1
2 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
|||
./../../meta/profiles/base.nix
|
||||
./../../meta/profiles/vm.nix
|
||||
];
|
||||
lyn.sops.secrets."hosts/frottjo-ci-runner/forgejo_ci-token".owner = "gitea-runner";
|
||||
lyn.sops.secrets."hosts/forgejo-ci/forgejo_ci_token" = {};
|
||||
# Use UEFI
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
|
@ -16,4 +16,5 @@
|
|||
# Firewall stuff:
|
||||
networking.firewall.enable = true;
|
||||
networking.firewall.allowPing = true;
|
||||
}
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker
|
||||
forgejo-actions-runner
|
||||
|
||||
];
|
||||
|
||||
# Enable docker
|
||||
|
@ -16,14 +14,15 @@
|
|||
};
|
||||
# Forgejo actions runner
|
||||
services.gitea-actions-runner = {
|
||||
package = config.pkgsInstances.unstable.forgejo-runner;
|
||||
instances = {
|
||||
"shibepro-ci" = {
|
||||
enable = true;
|
||||
url = "https://git.shibe.pro";
|
||||
name = "shibepro-ci";
|
||||
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci-token".path;
|
||||
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci_token".path;
|
||||
labels = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue