Forgejo
This commit is contained in:
parent
102490fcc4
commit
ec54a1e980
2 changed files with 26 additions and 0 deletions
25
nixos/forgejo.nix
Normal file
25
nixos/forgejo.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
lfs.enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.bertof.net";
|
||||
ROOT_URL = "https://git.bertof.net";
|
||||
HTTP_PORT = 3000;
|
||||
DISABLE_SSH = true;
|
||||
};
|
||||
session = {
|
||||
COOKIE_SECURE = true;
|
||||
};
|
||||
service = {
|
||||
# DISABLE_REGISTRATION = true;
|
||||
};
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue