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, lib,
... ...
}: { }: {
services.gitea = { services.forgejo = {
enable = true; enable = true;
package = pkgs.forgejo;
appName = "forgejo";
stateDir = "/var/lib/forgejo"; stateDir = "/var/lib/forgejo";
settings = { settings = {
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
DEFAULT.APP_NAME = "forgejo";
ui = { ui = {
DEFAULT_THEME = "forgejo-dark"; DEFAULT_THEME = "forgejo-dark";
}; };