diff --git a/common/server/gitea.nix b/common/server/gitea.nix index f6d496a..60ef1b3 100644 --- a/common/server/gitea.nix +++ b/common/server/gitea.nix @@ -16,8 +16,6 @@ in { appName = cfg.hostname; # lfs.enable = true; dump.enable = true; - cookieSecure = true; - disableRegistration = true; settings = { other = { SHOW_FOOTER_VERSION = false; @@ -25,6 +23,12 @@ in { ui = { DEFAULT_THEME = "arc-green"; }; + service = { + DISABLE_REGISTRATION = true; + }; + session = { + COOKIE_SECURE = true; + }; }; }; services.nginx.enable = true;