From c95a51d8f2eb4b88cea9891e5f72ca6d3ed19d96 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Tue, 2 Jul 2024 21:19:14 +0200 Subject: [PATCH] changed forgejo user to git --- appserver/forgejo.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appserver/forgejo.nix b/appserver/forgejo.nix index 57906bb..fe5c47b 100644 --- a/appserver/forgejo.nix +++ b/appserver/forgejo.nix @@ -2,7 +2,9 @@ { services.forgejo = { enable = true; + user = "git"; }; + services.forgejo.settings = { DEFAULT = { RUN_MODE = "prod"; @@ -10,6 +12,9 @@ service = { DISABLE_REGISTRATION = true; }; + server = { + ROOT_URL = "http://apps:3000"; + }; other = { SHOW_FOOTER_VERSION = true; };