modules: services: gitea: migrate to 'settings'

This commit is contained in:
Bruno BELANYI 2022-08-31 17:19:58 +02:00
parent 6748b5b5e6
commit c05fafefe8

View file

@ -64,10 +64,6 @@ in
lfs.enable = true;
useWizard = false;
disableRegistration = true;
# only send cookies via HTTPS
cookieSecure = true;
database = {
type = "postgres"; # Automatic setup
@ -90,6 +86,15 @@ in
MAILER_TYPE = cfg.mail.type;
IS_TLS_ENABLED = cfg.mail.tls;
};
service = {
DISABLE_REGISTRATION = true;
};
session = {
# only send cookies via HTTPS
COOKIE_SECURE = true;
};
};
};