Compare commits

..

1 Commits

Author SHA1 Message Date
Dennis - e05e695bd8 add gitea-actions-runner module 2024-04-10 22:55:56 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ in {
{
systemd.services = lib.genAttrs (builtins.genList (n: "gitea-runner-nix${builtins.toString n}-token") cfg.numInstances) (name: {
wantedBy = [ "multi-user.target" ];
after =lib.optional config.services.gitea.enable [ "gitea.service" ];
after =lib.optional config.services.gitea.enable "gitea.service";
unitConfig.ConditionPathExists = [ "!/var/lib/gitea-registration/${name}" ];
script = ''
set -euo pipefail