feat: replace gitea with forgejo and move to MOMO
This commit is contained in:
parent
87903828aa
commit
157dc93980
10 changed files with 50 additions and 63 deletions
20
hosts/MOMO/services/forgejo.nix
Normal file
20
hosts/MOMO/services/forgejo.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, ... }: {
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
database = {
|
||||
type = "postgres";
|
||||
createDatabase = true;
|
||||
};
|
||||
settings = {
|
||||
server = rec {
|
||||
HTTP_PORT = 8003;
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
DOMAIN = "git.dryb.org";
|
||||
ROOT_URL = "https://${DOMAIN}/";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue