42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ den, ... }: {
|
|
den.aspects.gitea = {
|
|
includes = [ den.aspects.gitea-mirrors ];
|
|
|
|
nixos = { config, ... }: {
|
|
den.tunnels = [ "git" ];
|
|
|
|
services.gitea = {
|
|
enable = true;
|
|
|
|
database.type = "mysql";
|
|
|
|
settings.service = {
|
|
DISABLE_REGISTRATION = true;
|
|
};
|
|
|
|
settings.server.HTTP_PORT = config.den.portmap.git;
|
|
|
|
mirrors = {
|
|
admin = {
|
|
user = "admin";
|
|
email = "admin@bug.tools";
|
|
};
|
|
|
|
repos = [
|
|
{ owner = "gmodena"; repo = "nix-flatpak"; service = "github"; }
|
|
{ owner = "FlameFlag"; repo = "nixcord"; service = "github"; }
|
|
{ owner = "jacob.eva"; repo = "opencom-lte"; source = "https://git.liberatedsystems.co.uk/jacob.eva/opencom-lte.git"; }
|
|
];
|
|
|
|
users = [
|
|
{ owner = "nix-community"; platform = "github"; }
|
|
{ owner = "catppuccin"; platform = "github"; }
|
|
{ owner = "picosh"; platform = "github"; }
|
|
{ owner = "vic"; platform = "github"; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|