From 57bc21faf4510a92e9ec55c7e56d4402ff9f4e2a Mon Sep 17 00:00:00 2001 From: harry Date: Mon, 23 Dec 2024 16:32:09 +0100 Subject: [PATCH] removed runner support for now --- hosts/sisyphe/features/services/forgejo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/sisyphe/features/services/forgejo.nix b/hosts/sisyphe/features/services/forgejo.nix index cfb51a6..c5e898e 100644 --- a/hosts/sisyphe/features/services/forgejo.nix +++ b/hosts/sisyphe/features/services/forgejo.nix @@ -36,10 +36,10 @@ mailerPasswordFile = config.sops.secrets.smtp_password.path; }; +/* sops.secrets.forgejo-runner-token = { owner = "forgejo"; }; - services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.default = { @@ -57,7 +57,7 @@ ]; }; }; - +*/ systemd.services.forgejo.preStart = '' create="${lib.getExe config.services.forgejo.package} admin user create" $create --admin --email "`cat ${config.sops.secrets.forgejoInitialMail.path}`" --username you --password "`cat ${config.sops.secrets.forgejoInitialPassword.path}`" &>/dev/null || true