fix gitea deprecation warnings

This commit is contained in:
Jill 2023-01-19 00:25:07 +01:00
parent 7331092d87
commit a6d0cd6e62
2 changed files with 3 additions and 3 deletions

View File

@ -24,6 +24,7 @@ DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = "noreply.oat.zone"
DISABLE_REGISTRATION = true
[picture]
DISABLE_GRAVATAR = false
@ -34,7 +35,8 @@ ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[session]
PROVIDER = "file"
PROVIDER = "file"
COOKIE_SECURE = true
[other]
SHOW_FOOTER_BRANDING = true

View File

@ -24,12 +24,10 @@ in {
gitea = {
enable = true;
package = pkgs.unstable.gitea;
disableRegistration = true;
domain = cfg.domain;
httpPort = cfg.port;
rootUrl = "https://${cfg.domain}/";
stateDir = "/var/lib/${cfg.domain}";
cookieSecure = true;
appName = "Gitea: dark-firepit hosted Git";
database = {
type = "postgres";