From 95ed4948617f2e7cd81e5d7390da6eb412becb26 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Tue, 23 Aug 2022 09:18:59 +0300 Subject: [PATCH] fix deprecated options --- hosts/wolumonde/modules/gitea.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/wolumonde/modules/gitea.nix b/hosts/wolumonde/modules/gitea.nix index a728ced..c9709b2 100644 --- a/hosts/wolumonde/modules/gitea.nix +++ b/hosts/wolumonde/modules/gitea.nix @@ -1,11 +1,13 @@ {config, ...}: { services.gitea = { enable = true; - cookieSecure = true; - disableRegistration = true; domain = "git.gaze.systems"; rootUrl = "https://git.gaze.systems/"; httpPort = 3001; + settings = { + service.DISABLE_REGISTRATION = true; + session.COOKIE_SECURE = true; + }; }; services.nginx.virtualHosts."git.gaze.systems" = {