services: gitea: fix renamed options
This commit is contained in:
parent
77b5936a0b
commit
1d9db293ea
|
@ -57,21 +57,22 @@ in {
|
||||||
rootUrl = "https://git.${domain}/";
|
rootUrl = "https://git.${domain}/";
|
||||||
httpAddress = "127.0.0.1";
|
httpAddress = "127.0.0.1";
|
||||||
httpPort = cfg.privatePort;
|
httpPort = cfg.privatePort;
|
||||||
log.level = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
# NOTE: temporarily remove this for initial setup
|
|
||||||
disableRegistration = true;
|
|
||||||
|
|
||||||
# only send cookies via HTTPS
|
|
||||||
cookieSecure = true;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
||||||
other.SHOW_FOOTER_VERSION = false;
|
other.SHOW_FOOTER_VERSION = false;
|
||||||
repository = {
|
repository = {
|
||||||
ENABLE_PUSH_CREATE_USER = true;
|
ENABLE_PUSH_CREATE_USER = true;
|
||||||
DEFAULT_BRANCH = "main";
|
DEFAULT_BRANCH = "main";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# NOTE: temporarily remove this for initial setup
|
||||||
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
|
||||||
|
# only send cookies via HTTPS
|
||||||
|
session.COOKIE_SECURE = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# NixOS module uses `gitea dump` to backup repositories and the database,
|
# NixOS module uses `gitea dump` to backup repositories and the database,
|
||||||
|
|
Loading…
Reference in a new issue