start forgejo actions runner after mounting /var/lib/private
This commit is contained in:
parent
20d2e5740e
commit
f9cd6f8aa0
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
{ pkgs, config, lib, utils, ... }:
|
||||
let
|
||||
cfg = config.services.forgejo;
|
||||
domainName = "git.acomputer.lol";
|
||||
|
@ -74,5 +74,8 @@ in
|
|||
database.createDatabase = true;
|
||||
};
|
||||
};
|
||||
systemd.services.forgejo.after = [ "wg-quick-Homelab.service" "postgresql.service" ];
|
||||
systemd.services = {
|
||||
forgejo.after = [ "wg-quick-Homelab.service" "postgresql.service" ];
|
||||
"gitea-runner-${utils.escapeSystemdPath "X86_64-runner"}".unitConfig.RequiresMountsFor = [ "/var/lib/private" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue