forgejo and maybe more?
This commit is contained in:
parent
9da5443958
commit
b6f2c2a8ef
3 changed files with 31 additions and 4 deletions
26
imports/forgejo.nix
Normal file
26
imports/forgejo.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.forgejo= {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
server = {
|
||||
DOMAIN = "forge.mymarseille.duckdns.org";
|
||||
ROOT_URL = "https://forge.mymarseille.duckdns.org";
|
||||
HTTP_PORT = 3000;
|
||||
DISABLE_SSH = true;
|
||||
};
|
||||
|
||||
session.COOKIE_SECURE = true;
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
};
|
||||
|
||||
database = {
|
||||
type = "postgres";
|
||||
port = 5432;
|
||||
name = "forgejo";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue