Remove unused forgejo-runner service
Some checks failed
/ Build Nix targets (push) Failing after 1m7s
Some checks failed
/ Build Nix targets (push) Failing after 1m7s
This commit is contained in:
parent
d1994caee9
commit
f161491a9c
3 changed files with 0 additions and 32 deletions
|
@ -3,7 +3,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./nginx
|
./nginx
|
||||||
./gitea
|
./gitea
|
||||||
./forgejo-runner
|
|
||||||
./redis
|
./redis
|
||||||
./jellyfin
|
./jellyfin
|
||||||
./nextcloud
|
./nextcloud
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{ config, pkgs, lib, agenix, ... }:
|
|
||||||
let
|
|
||||||
cfg = config.services.vm_forgejo;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.services.vm_forgejo = {
|
|
||||||
enable = lib.mkEnableOption "Enable Forgejo service";
|
|
||||||
};
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
users.users.gitea-runner = {
|
|
||||||
isNormalUser = true;
|
|
||||||
};
|
|
||||||
age.secrets.forgejo-runner-token = {
|
|
||||||
file = ./secrets/forgejo-runner-token.age;
|
|
||||||
mode = "0660";
|
|
||||||
owner = "gitea-runner";
|
|
||||||
};
|
|
||||||
services.gitea-actions-runner = {
|
|
||||||
package = pkgs.forgejo-actions-runner;
|
|
||||||
instances.default = {
|
|
||||||
enable = true;
|
|
||||||
name = "nixos-runner";
|
|
||||||
url = "https://git.le43.eu";
|
|
||||||
tokenFile = config.age.secrets.forgejo-runner-token.path;
|
|
||||||
labels = [
|
|
||||||
"native:host"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Binary file not shown.
Loading…
Reference in a new issue