This commit is contained in:
4DBug
2026-03-05 11:06:06 -06:00
parent 83c72a1742
commit 20bd5609e4
19 changed files with 145 additions and 82 deletions

View File

@@ -1,6 +1,6 @@
{ den, ... }: {
den.aspects.gitea = {
includes = [ den.aspects.gitea-mirrors ];
# includes = [ den.aspects.gitea-mirrors ];
nixos = { config, ... }: {
den.tunnels = [ "git" ];
@@ -11,11 +11,12 @@
database.type = "mysql";
settings.service = {
DISABLE_REGISTRATION = true;
DISABLE_REGISTRATION = false;
};
settings.server.HTTP_PORT = config.den.portmap.git;
/*
mirrors = {
admin = {
user = "admin";
@@ -35,6 +36,7 @@
{ owner = "vic"; platform = "github"; }
];
};
*/
};
};
};

View File

@@ -4,7 +4,7 @@
imports = [
(fetchTarball {
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz";
sha256 = "0rm5f749xakmkqrpkl5ay1pydbnlinr50pvwg1vm795js2infmj5";
sha256 = "1n5yxya54mdsjmdix0pjzlqbk49jqf0gfhmgqc3lywxifrdi6k0q";
})
];

View File

@@ -3,7 +3,7 @@
options.den.portmap = lib.mkOption {
type = lib.types.attrsOf lib.types.port;
default = {};
description = "ports.";
description = "ports";
};
config.den.portmap = {