initial commit
This commit is contained in:
commit
47c42dc7a6
14 changed files with 490 additions and 0 deletions
24
modules/forgejo.nix
Normal file
24
modules/forgejo.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
# Enable support for Large File Storage
|
||||
lfs.enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.extremist.software";
|
||||
ROOT_URL = "https://git.extremist.software/";
|
||||
HTTP_PORT = 3000;
|
||||
};
|
||||
# You can configure SMTP here using secrets if needed
|
||||
};
|
||||
# Secret for DB password set in secrets.nix
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue