Update gitea service confit to match new names.

This commit is contained in:
Kevin Baensch 2023-01-29 16:23:53 +01:00
parent dccbaf1d7c
commit 4db219c279
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -10,7 +10,6 @@ mkIf (elem "gitea" config.machine.services) {
in { in {
enable = true; enable = true;
user = "git"; user = "git";
cookieSecure = true;
domain = domain; domain = domain;
rootUrl = "http://${domain}/"; rootUrl = "http://${domain}/";
database = { database = {
@ -34,6 +33,10 @@ mkIf (elem "gitea" config.machine.services) {
service = { service = {
DISABLE_REGISTRATION = (lib.mkForce true); DISABLE_REGISTRATION = (lib.mkForce true);
}; };
session = {
cookieSecure = true;
};
}; };
}; };