docs(modules): уточнить пути и счётчики в комментариях
- xlib: mkXlib из lib/xlib/default.nix (было lib/xlib.nix); - архив: ../../archive/ от modules/server, 12+3 модуля; - убраны устаревшие номера строк в ссылке на T16. Проверки: PASS 3, FAIL 0; граф импортов 120 файлов, 119 ссылок.
This commit is contained in:
1 parent
13e90d06b5
commit
39e1887d78
5 files changed
+19
-10
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
}:
|
}:
|
||||||
# Builds a NixOS system from a host record.
|
# Builds a NixOS system from a host record.
|
||||||
#
|
#
|
||||||
# `xlib` is the pure host value (lib/xlib.nix `mkXlib`) built in
|
# `xlib` is the pure host value (`mkXlib` from lib/xlib/default.nix) built in
|
||||||
# configurations/default.nix. It is handed to every module as the `xlib`
|
# configurations/default.nix. It is handed to every module as the `xlib`
|
||||||
# argument, so modules read plain `xlib.*` data instead of `config.xlib.*`
|
# argument, so modules read plain `xlib.*` data instead of `config.xlib.*`
|
||||||
# and the host record stays the single source of truth.
|
# and the host record stays the single source of truth.
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ in
|
|||||||
oci-containers = {
|
oci-containers = {
|
||||||
backend = "podman";
|
backend = "podman";
|
||||||
containers."3xui_app" = {
|
containers."3xui_app" = {
|
||||||
# Тег образа ЗАПИНЕН (2026-10-20, R1.16). До этого был `:latest`,
|
# Тег образа ЗАПИНЕН (2026-10-20, R1.5). До этого был `:latest`,
|
||||||
# и это был вектор тихого дрейфа: 2026-10-14 вышел 3x-ui v3.10.x с
|
# и это был вектор тихого дрейфа: 2026-10-14 вышел 3x-ui v3.10.x с
|
||||||
# ядром Xray **26.10.10** (26.7.x → 26.10.x мимо рук), а ядро ≥ 26.9.8
|
# ядром Xray **26.10.10** (26.7.x → 26.10.x мимо рук), а ядро ≥ 26.9.8
|
||||||
# требует в REALITY ClientHello key share `X25519MLKEM768` (см. R1.16).
|
# требует в REALITY ClientHello key share `X25519MLKEM768` (см. R1.16).
|
||||||
@@ -71,8 +71,11 @@ in
|
|||||||
]
|
]
|
||||||
++ certMounts;
|
++ certMounts;
|
||||||
log-driver = "journald";
|
log-driver = "journald";
|
||||||
# Adding a new inbound through the 3x-ui panel on a port outside
|
# Every port an inbound listens on has to be published from the
|
||||||
# the 14380-15379 range requires extending basePorts and rebuilding.
|
# container, otherwise it is unreachable from outside. Ports 2049,
|
||||||
|
# 2096 and 8443 are published by `basePorts` above; 443 (VDS only)
|
||||||
|
# by `realityPorts`. A new inbound on any other port means
|
||||||
|
# extending one of those lists and rebuilding.
|
||||||
ports = basePorts ++ realityPorts;
|
ports = basePorts ++ realityPorts;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
xlib,
|
xlib,
|
||||||
@@ -39,8 +40,9 @@
|
|||||||
./uptime-kuma.nix
|
./uptime-kuma.nix
|
||||||
./engipy-frontend.nix
|
./engipy-frontend.nix
|
||||||
./engipy-backend.nix
|
./engipy-backend.nix
|
||||||
# T16: 14 modules archived to ../archive/{server-modules,containers}/
|
# T16: 15 modules archived to ../../archive/{server-modules,containers}/
|
||||||
# (13 in modules/server/default.nix:37-50, 2 in modules/containers/).
|
# (12 in archive/server-modules/, 3 in archive/containers/).
|
||||||
|
# This import list carries zero commented-out entries.
|
||||||
# T15: kokoro-tts and openhands (not imported) also archived.
|
# T15: kokoro-tts and openhands (not imported) also archived.
|
||||||
# stirling-pdf.nix was deleted in 5dd7a58 (absorbed into bentopdf.nix).
|
# stirling-pdf.nix was deleted in 5dd7a58 (absorbed into bentopdf.nix).
|
||||||
# open-webui.nix was never commented — migrated to containers/,
|
# open-webui.nix was never commented — migrated to containers/,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
xlib,
|
xlib,
|
||||||
...
|
...
|
||||||
@@ -18,8 +19,9 @@
|
|||||||
# VDS hosts the public-facing Xray REALITY inbound on container:443,
|
# VDS hosts the public-facing Xray REALITY inbound on container:443,
|
||||||
# fronted by nginx stream on host:443 → host:15380 → container:443.
|
# fronted by nginx stream on host:443 → host:15380 → container:443.
|
||||||
# reality443Forwarding MUST stay true here: modules/vds/nginx.nix
|
# reality443Forwarding MUST stay true here: modules/vds/nginx.nix
|
||||||
# routes pubrayx1.zeroq.su/default → 127.0.0.1:15380, which only
|
# routes the `default` SNI branch (= every name other than
|
||||||
# exists when this mapping is published. (Restored 2026-10-10 after
|
# pubray1.zeroq.su) → 127.0.0.1:15380, which only exists when this
|
||||||
|
# mapping is published. (Restored 2026-10-10 after
|
||||||
# T10/C5 wrongly removed it and broke Xray REALITY.)
|
# T10/C5 wrongly removed it and broke Xray REALITY.)
|
||||||
host."3x-ui" = {
|
host."3x-ui" = {
|
||||||
certDomain = "pubray1.zeroq.su";
|
certDomain = "pubray1.zeroq.su";
|
||||||
|
|||||||
@@ -13,8 +13,10 @@
|
|||||||
# Routing:
|
# Routing:
|
||||||
# pubray1.zeroq.su → 127.0.0.1:2049 (3x-ui panel; LE cert mounted
|
# pubray1.zeroq.su → 127.0.0.1:2049 (3x-ui panel; LE cert mounted
|
||||||
# into the container terminates TLS)
|
# into the container terminates TLS)
|
||||||
# pubrayx1.zeroq.su → 127.0.0.1:15380 (Xray REALITY; Xray sees its
|
# anything else → 127.0.0.1:15380 (Xray REALITY: the `default` branch
|
||||||
# real configured port 443 via DNAT)
|
# catches every other SNI, including whatever name a
|
||||||
|
# REALITY client sends. Xray sees its real configured
|
||||||
|
# port 443 via DNAT)
|
||||||
# default → 127.0.0.1:15380 (REALITY fallback for any
|
# default → 127.0.0.1:15380 (REALITY fallback for any
|
||||||
# other SNI / IP-direct)
|
# other SNI / IP-direct)
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user