update forgejo/gitea config
This commit is contained in:
parent
42ed88bb94
commit
96e6a6cc63
1 changed files with 4 additions and 1 deletions
|
@ -168,7 +168,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.forgejo;
|
package = pkgs.forgejo;
|
||||||
stateDir = "/var/lib/git.reidlab.online";
|
stateDir = "/var/lib/git.reidlab.online";
|
||||||
appName = "Forgejo: reidlab.online git";
|
appName = "reidlab's git instance";
|
||||||
database = {
|
database = {
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
name = "gitea";
|
name = "gitea";
|
||||||
|
@ -202,6 +202,9 @@
|
||||||
DEFAULT_ENABLE_TIMETRACKING = true;
|
DEFAULT_ENABLE_TIMETRACKING = true;
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
|
"federation" = {
|
||||||
|
ENABLED = true;
|
||||||
|
}:
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."git.reidlab.online" = {
|
services.nginx.virtualHosts."git.reidlab.online" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue