fix deprecated options

This commit is contained in:
dusk 2022-08-23 09:18:59 +03:00
parent fac2929fdf
commit 95ed494861
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -1,11 +1,13 @@
{config, ...}: { {config, ...}: {
services.gitea = { services.gitea = {
enable = true; enable = true;
cookieSecure = true;
disableRegistration = true;
domain = "git.gaze.systems"; domain = "git.gaze.systems";
rootUrl = "https://git.gaze.systems/"; rootUrl = "https://git.gaze.systems/";
httpPort = 3001; httpPort = 3001;
settings = {
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;
};
}; };
services.nginx.virtualHosts."git.gaze.systems" = { services.nginx.virtualHosts."git.gaze.systems" = {