Forgejo
This commit is contained in:
parent
102490fcc4
commit
ec54a1e980
2 changed files with 26 additions and 0 deletions
|
|
@ -349,6 +349,7 @@
|
||||||
./nixos/minio_server.nix
|
./nixos/minio_server.nix
|
||||||
./nixos/nextcloud.nix
|
./nixos/nextcloud.nix
|
||||||
./nixos/immich.nix
|
./nixos/immich.nix
|
||||||
|
./nixos/forgejo.nix
|
||||||
# cute-api.nixosModules.default
|
# cute-api.nixosModules.default
|
||||||
# { services.cute-api = { enable = true; host = "0.0.0.0"; }; }
|
# { services.cute-api = { enable = true; host = "0.0.0.0"; }; }
|
||||||
# ./nixos/garage.nix
|
# ./nixos/garage.nix
|
||||||
|
|
|
||||||
25
nixos/forgejo.nix
Normal file
25
nixos/forgejo.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue