mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
28 lines
595 B
Nix
28 lines
595 B
Nix
{
|
|
services.caddy.virtualHosts."git.wanderingcrow.net".extraConfig = ''
|
|
reverse_proxy http://localhost:3000
|
|
'';
|
|
|
|
services.forgejo = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
database = {
|
|
type = "sqlite3";
|
|
createDatabase = true;
|
|
};
|
|
settings = {
|
|
server = {
|
|
DOMAIN = "git.wanderingcrow.net";
|
|
ROOT_URL = "https://git.wanderingcrow.net";
|
|
HTTP_PORT = 3000;
|
|
};
|
|
service = {
|
|
DISABLE_REGISTRATION = false;
|
|
};
|
|
actions = {
|
|
ENABLED = true;
|
|
DEFAULT_ACTIONS_URL = "github";
|
|
};
|
|
};
|
|
};
|
|
}
|