organize packages
This commit is contained in:
39
modules/services/gitea/gitea.nix
Normal file
39
modules/services/gitea/gitea.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ 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 = {
|
||||
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"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user