From f9cd6f8aa0426064b970d921f432ece7f5ab61ca Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 27 Nov 2024 23:59:46 +0530 Subject: [PATCH] start forgejo actions runner after mounting /var/lib/private --- hosts/wynne/services/apps/forgejo.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/wynne/services/apps/forgejo.nix b/hosts/wynne/services/apps/forgejo.nix index 37015e6..05c73cc 100644 --- a/hosts/wynne/services/apps/forgejo.nix +++ b/hosts/wynne/services/apps/forgejo.nix @@ -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" ]; + }; }