Setup Forgejo service + Migrate git configurations
This commit is contained in:
parent
115e2849cd
commit
9f8378df75
5 changed files with 40 additions and 5 deletions
20
nixos/viridian/services/forgejo.nix
Normal file
20
nixos/viridian/services/forgejo.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
stateDir = "/srv/services/forgejo";
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.sajenim.dev";
|
||||
ROOT_URL = "https://git.sajenim.dev";
|
||||
HTTP_PORT = 3131;
|
||||
LANDING_PAGE = "/jasmine";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
log.LEVEL = "Info";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue