services: gitea: new settings format
This commit is contained in:
parent
a79e0bfd21
commit
7bd64222fc
|
@ -52,14 +52,16 @@ in {
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = giteaUser;
|
user = giteaUser;
|
||||||
domain = "git.${domain}";
|
|
||||||
appName = "Personal Forge";
|
appName = "Personal Forge";
|
||||||
rootUrl = "https://git.${domain}/";
|
|
||||||
httpAddress = "127.0.0.1";
|
|
||||||
httpPort = cfg.privatePort;
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
server = {
|
||||||
|
ROOT_URL = "https://git.${domain}/";
|
||||||
|
DOMAIN = "git.${domain}";
|
||||||
|
HTTP_ADDR = "127.0.0.1";
|
||||||
|
HTTP_PORT = cfg.privatePort;
|
||||||
|
};
|
||||||
log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
||||||
other.SHOW_FOOTER_VERSION = false;
|
other.SHOW_FOOTER_VERSION = false;
|
||||||
repository = {
|
repository = {
|
||||||
|
|
Loading…
Reference in a new issue