forgejo: use forgejo service

This commit is contained in:
notohh 2023-09-16 18:53:50 -04:00
parent 4701532c78
commit a8b8e1901d
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -3,13 +3,12 @@
lib,
...
}: {
services.gitea = {
services.forgejo = {
enable = true;
package = pkgs.forgejo;
appName = "forgejo";
stateDir = "/var/lib/forgejo";
settings = {
service.DISABLE_REGISTRATION = true;
DEFAULT.APP_NAME = "forgejo";
ui = {
DEFAULT_THEME = "forgejo-dark";
};