update gitea settings

This commit is contained in:
Zuckerberg 2023-03-11 22:45:21 -07:00
parent 7b8a9874e7
commit 96c81acbcf

View File

@ -16,8 +16,6 @@ in {
appName = cfg.hostname; appName = cfg.hostname;
# lfs.enable = true; # lfs.enable = true;
dump.enable = true; dump.enable = true;
cookieSecure = true;
disableRegistration = true;
settings = { settings = {
other = { other = {
SHOW_FOOTER_VERSION = false; SHOW_FOOTER_VERSION = false;
@ -25,6 +23,12 @@ in {
ui = { ui = {
DEFAULT_THEME = "arc-green"; DEFAULT_THEME = "arc-green";
}; };
service = {
DISABLE_REGISTRATION = true;
};
session = {
COOKIE_SECURE = true;
};
}; };
}; };
services.nginx.enable = true; services.nginx.enable = true;