diff --git a/cluster/services/forge/server.nix b/cluster/services/forge/server.nix index cd6346f..2de93b3 100644 --- a/cluster/services/forge/server.nix +++ b/cluster/services/forge/server.nix @@ -16,8 +16,11 @@ in { system.ascensions.forgejo = { - requiredBy = [ "gitea.service" ]; - incantations = i: [ ]; + requiredBy = [ "forgejo.service" ]; + before = [ "forgejo.service" ]; + incantations = i: [ + (i.execShell "chown -R forgejo:forgejo /srv/storage/private/forge") + ]; }; age.secrets = {