diff --git a/hosts/sakura/services/forgejo.nix b/hosts/sakura/services/forgejo.nix index a93a01e..cc09fc3 100644 --- a/hosts/sakura/services/forgejo.nix +++ b/hosts/sakura/services/forgejo.nix @@ -9,7 +9,7 @@ enable = true; stateDir = "/var/lib/forgejo"; settings = { - service.DISABLE_REGISTRATION = false; + service.DISABLE_REGISTRATION = true; DEFAULT.APP_NAME = "forgejo"; log.LEVEL = "Debug"; ui = { @@ -34,6 +34,9 @@ session = { COOKIE_SECURE = true; }; + security = { + LOGIN_REMEMBER_DAYS = 14; + }; database = { DB_TYPE = lib.mkForce "postgres"; HOST = "192.168.1.211:5432";