mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 11:35:41 +00:00
feat(vps): add forgejo
This commit is contained in:
parent
78ef47c410
commit
b394df67f4
3 changed files with 25 additions and 0 deletions
19
hosts/vps/modules/services/forgejo.nix
Normal file
19
hosts/vps/modules/services/forgejo.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3001;
|
||||
DOMAIN = "git.toast.name";
|
||||
ROOT_URL = "https://git.toast.name/";
|
||||
LANDING_PAGE = "explore";
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue