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