This commit is contained in:
Filippo Berto 2025-09-19 10:57:27 +02:00
parent 102490fcc4
commit ec54a1e980
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 26 additions and 0 deletions

View file

@ -349,6 +349,7 @@
./nixos/minio_server.nix
./nixos/nextcloud.nix
./nixos/immich.nix
./nixos/forgejo.nix
# cute-api.nixosModules.default
# { services.cute-api = { enable = true; host = "0.0.0.0"; }; }
# ./nixos/garage.nix

25
nixos/forgejo.nix Normal file
View file

@ -0,0 +1,25 @@
{
services.forgejo = {
enable = true;
database.type = "postgres";
lfs.enable = true;
settings = {
server = {
DOMAIN = "git.bertof.net";
ROOT_URL = "https://git.bertof.net";
HTTP_PORT = 3000;
DISABLE_SSH = true;
};
session = {
COOKIE_SECURE = true;
};
service = {
# DISABLE_REGISTRATION = true;
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
};
};
}