removed runner support for now

This commit is contained in:
Harry 2024-12-23 16:32:09 +01:00
parent 0e83769e9d
commit 57bc21faf4

View file

@ -36,10 +36,10 @@
mailerPasswordFile = config.sops.secrets.smtp_password.path; mailerPasswordFile = config.sops.secrets.smtp_password.path;
}; };
/*
sops.secrets.forgejo-runner-token = { sops.secrets.forgejo-runner-token = {
owner = "forgejo"; owner = "forgejo";
}; };
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner; package = pkgs.forgejo-actions-runner;
instances.default = { instances.default = {
@ -57,7 +57,7 @@
]; ];
}; };
}; };
*/
systemd.services.forgejo.preStart = '' systemd.services.forgejo.preStart = ''
create="${lib.getExe config.services.forgejo.package} admin user create" 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 $create --admin --email "`cat ${config.sops.secrets.forgejoInitialMail.path}`" --username you --password "`cat ${config.sops.secrets.forgejoInitialPassword.path}`" &>/dev/null || true