first commit
This commit is contained in:
commit
e46461326d
10 changed files with 632 additions and 0 deletions
20
forgejo.nix
Normal file
20
forgejo.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = { ROOT_URL = "https://git.stuce.ch"; };
|
||||
openid = {
|
||||
ENABLE_OPENID_SIGNIN = false;
|
||||
ENABLE_OPENID_SIGNUP = true;
|
||||
WHITELISTED_URIS = "auth.stuce.ch";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = false;
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
||||
SHOW_REGISTRATION_BUTTON = false;
|
||||
};
|
||||
session = { COOKIE_SECURE = true; };
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue