docs(modules): уточнить пути и счётчики в комментариях
test-runner / smoke (push) Successful in 1s
nixos flake checks / invariant-checks (push) Canceled after 0s

- 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:
oqyude committed 2026-10-24 02:17:25 +03:00
1 parent 13e90d06b5
commit 39e1887d78
5 files changed
+19 -10

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
}:
# 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`
# argument, so modules read plain `xlib.*` data instead of `config.xlib.*`
# and the host record stays the single source of truth.
+6 -3
View File
@@ -51,7 +51,7 @@ in
oci-containers = {
backend = "podman";
containers."3xui_app" = {
# Тег образа ЗАПИНЕН (2026-10-20, R1.16). До этого был `:latest`,
# Тег образа ЗАПИНЕН (2026-10-20, R1.5). До этого был `:latest`,
# и это был вектор тихого дрейфа: 2026-10-14 вышел 3x-ui v3.10.x с
# ядром Xray **26.10.10** (26.7.x → 26.10.x мимо рук), а ядро ≥ 26.9.8
# требует в REALITY ClientHello key share `X25519MLKEM768` (см. R1.16).
@@ -71,8 +71,11 @@ in
]
++ certMounts;
log-driver = "journald";
# Adding a new inbound through the 3x-ui panel on a port outside
# the 14380-15379 range requires extending basePorts and rebuilding.
# Every port an inbound listens on has to be published from the
# 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;
};
};
+4 -2
View File
@@ -1,4 +1,5 @@
{
config,
lib,
pkgs,
xlib,
@@ -39,8 +40,9 @@
./uptime-kuma.nix
./engipy-frontend.nix
./engipy-backend.nix
# T16: 14 modules archived to ../archive/{server-modules,containers}/
# (13 in modules/server/default.nix:37-50, 2 in modules/containers/).
# T16: 15 modules archived to ../../archive/{server-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.
# stirling-pdf.nix was deleted in 5dd7a58 (absorbed into bentopdf.nix).
# open-webui.nix was never commented — migrated to containers/,
+4 -2
View File
@@ -1,4 +1,5 @@
{
config,
lib,
xlib,
...
@@ -18,8 +19,9 @@
# VDS hosts the public-facing Xray REALITY inbound on container:443,
# fronted by nginx stream on host:443 → host:15380 → container:443.
# reality443Forwarding MUST stay true here: modules/vds/nginx.nix
# routes pubrayx1.zeroq.su/default → 127.0.0.1:15380, which only
# exists when this mapping is published. (Restored 2026-10-10 after
# routes the `default` SNI branch (= every name other than
# 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.)
host."3x-ui" = {
certDomain = "pubray1.zeroq.su";
+4 -2
View File
@@ -13,8 +13,10 @@
# Routing:
# pubray1.zeroq.su → 127.0.0.1:2049 (3x-ui panel; LE cert mounted
# into the container terminates TLS)
# pubrayx1.zeroq.su → 127.0.0.1:15380 (Xray REALITY; Xray sees its
# real configured port 443 via DNAT)
# anything else → 127.0.0.1:15380 (Xray REALITY: the `default` branch
# 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
# other SNI / IP-direct)
#