services: gitea: new settings format
This commit is contained in:
parent
a79e0bfd21
commit
7bd64222fc
|
@ -52,14 +52,16 @@ in {
|
|||
services.gitea = {
|
||||
enable = true;
|
||||
user = giteaUser;
|
||||
domain = "git.${domain}";
|
||||
appName = "Personal Forge";
|
||||
rootUrl = "https://git.${domain}/";
|
||||
httpAddress = "127.0.0.1";
|
||||
httpPort = cfg.privatePort;
|
||||
lfs.enable = true;
|
||||
|
||||
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" ]
|
||||
other.SHOW_FOOTER_VERSION = false;
|
||||
repository = {
|
||||
|
|
Loading…
Reference in a new issue