Commit Graph
52 Commits
Author SHA1 Message Date
oqyude 17897f7dee 3xui-reconfig: PANEL_BASE/PANEL_TOKEN вычисляются из БД панели в рантайме
Юнит 3xui-reconfig.service не работал НИКОГДА: в Environment стояли
литералы "PANEL_BASE=@base" / "PANEL_TOKEN=@api_token", которые никто не
подставлял — curl уходил на "https://pubray1.zeroq.su@base/panel/api/..."
и падал с "Could not resolve host: base".

- modules/3x-ui/default.nix: новая опция modules."3x-ui".reconfigRunner —
  читает webBasePath и apiToken из таблицы settings БД панели в рантайме
  (podman exec 3xui_app python3 -c …) и отдаёт их скрипту reconfig через
  PANEL_BASE/PANEL_TOKEN; токен не попадает ни в nix store, ни в журнал
  (в журнал — только длина), ни в argv curl (заголовок уходит через
  curl --config -, то есть stdin).
- скрипт reconfig: grep добавлен в runtimeInputs — в минимальном PATH
  юнита его не было, и скрипт падал с "grep: command not found".
- modules/server/default.nix (sapphira): PANEL_URL=https://x.zeroq.su.
  Локальный https://127.0.0.1:2049 не мог работать: панель внутри
  контейнера говорит по HTTP (webCertFile пуст) и отвечает только на
  свой webDomain (x.zeroq.su) — с чужим Host идёт 403 с пустым телом.
- modules/vds/default.nix (otreca): PANEL_URL=https://pubray1.zeroq.su.
- оба юнита: ExecStart → обёртка, After=podman-3xui_app.service,
  комментарии переписаны (почему локальный адрес не работает и что
  PANEL_BASE = webBasePath из БД, а не константа).
- modules/containers/3x-ui.nix: исправлен протухший комментарий про
  несуществующий modules/3x-ui/scripts/reconfig.sh.
- метасостояние: R1.20 в rules/project-rules.md, инвариант 19 и строка
  «Ловушек» в AGENTS.md, находка в tasks/manifest.md (в реестр задач не
  внесена — manifest.json в этой сессии не трогается).

Проверено на sapphira вживую: энд-знд прогон обёртки → {"success":true},
config.json после рестарта побайтово не изменился (ключи REALITY те же),
токен в журнале — 0 совпадений.

nixos-rebuild switch не выполнялся — это решение владельца.
2026-11-16 18:33:15 +03:00
oqyude d6d64d21c3 treefmt + samba dir changed
nixos flake checks / invariant-checks (push) Failing after 7s
test-runner / smoke (push) Successful in 1s
2026-11-07 18:37:42 +03:00
oqyude 94b28f9bfc Samba AD DS: модуль-опция (выключен по умолчанию) + доказательства
Исследование по исходникам пина 31ecbaca (26.11), samba 4.23.10:

* В nixpkgs `services.samba` НЕТ ни одной опции AD DC — ни
  enableActiveDirectoryDomainController, ни domainName/realm/serverRole.
  Единственное похожее — settings.global.security = "ads" (вход в
  существующий домен как member server, а не DC).
* pkgs.samba собран --without-ad-dc --without-ldap --without-ads: бинаря
  samba-tool в нём нет вообще (проверено на работающем на sapphira
  файловом сервере). Для DC нужен отдельный пакет; берём минимальный
  override samba4.override { enableLDAP = true; enableDomainController = true; },
  а не pkgs.samba4Full (cups + avahi + cephfs лишним весом).
* samba-tool domain provision берёт realm из smb.conf (флага --realm нет),
  пишет <targetdir>/etc/smb.conf, private/, state/sysvol/, bind-dns/.
  Шейры [sysvol] и [netlogon] обязательны: lp.get("path", "<имя шейры>")
  возвращает path именно этой секции, иначе MissingShareError.
  Непустой smb.conf не перезаписывается — поэтому шаблон задаёт
  dns forwarder / dns port / server services.
* Провижининг НЕ идемпотентен → идемпотентность сделана в юните
  (наличие private/sam.ldb → skip, exit 0).

Конфликты на sapphira (ссороться за порты нельзя, оба — assertion):
  53/tcp+udp  coredns (зоны zeroq.su + home.arpa) против AD DNS
  445/tcp     samba-smbd (файловый сервер) против DC (нужен для sysvol/GPO)
Оба порта — с внятным текстом и тремя вариантами решения; по умолчанию
предложен отдельный хост. Время не блокер: chronyd, расхождение ≈0.5 мс
при требовании ≤5 минут.

Что добавлено:
* modules/server/samba-ad.nix — опция host.samba-ad (enable = false),
  юниты samba-ad-provision.service (oneshot, идемпотентный) и
  samba-ad.service (Type=notify), smb.conf-шаблон в state dir,
  пароль администратора только из sops-секрета (в рантайме).
* modules/server/default.nix — импорт (выключено).
* modules/server/samba.nix — samba-smbd теперь создаётся только при
  services.samba.enable. Без этого выключение файлового сервера (нужное,
  чтобы отдать 445 DC'у) оставляло фантомный юнит без ExecStart —
  ровно ловушка ADR-0004 / R1.14. Для работающих хостов поведение
  не меняется ни на байт.

Доказательства (ничего не активировано):
* enable=false: конфигурация оценивается, юнитов samba-ad* нет, AD-вариант
  samba в замыкании отсутствует (0 совпадений).
* enable=true: конфигурация падает с тремя assertion'ами (realm не задан,
  53 занят, 445 занят) — правильный результат.
* enable=true + конфликты сняты: drvPath
  /nix/store/hm0i8qmni34b2j5bcjak1yvmg2s3y20p-nixos-system-sapphira-default.drv,
  в плане сборки AD-сборка samba, шаблон smb.conf и оба юнита.

Открытые решения владельца (имя домена/realm, где живёт DC, делегирование
DNS, пароль, нужен ли DC на sapphira) — в .agent/notes/samba-ad-2026-10-30.md.
2026-10-30 19:25:59 +03:00
director 861b19e1e1 server: immich вернуть, glances выключить
test-runner / smoke (push) Successful in 1s
nixos flake checks / invariant-checks (push) Successful in 3m11s
Владелец: immich нужен, glances нет.

  immich    — возвращён импорт и vhost immich.zeroq.su. Юниты были
              enabled, но остановлены в 15:07; кэш ML-моделей (2.9 ГБ),
              который директор удалил, скачается заново при первом
              ML-задании. Пик памяти ~1.3 ГБ.
  glances   — выключен (порт 61208, openFirewall открывал его наружу).
              Записи coredns (glances.zeroq.su) оставлены: указывают
              в закрытый порт.

Остаются выключенными только uptime-kuma и open-webui — оба были failed.
Устаревший комментарий про «open-webui никогда не комментировался» снят:
теперь это неправда.
2026-10-30 15:40:36 +03:00
director 06f2237b16 server: выключить три мёртвых сервиса (uptime-kuma, open-webui, immich)
nixos flake checks / invariant-checks (push) Canceled after 6m32s
test-runner / smoke (push) Successful in 4s
Все три не работали — выключение не отнимает функцию, а убирает падающие
юниты и фоновую работу:

  uptime-kuma  uptime-kuma.service failed (timeout) с 15:09 сегодня
  open-webui   podman-open-webui.service failed; образ 4.69 ГБ тянулся
               с ghcr.io и обновлялся автоматически
  immich       immich-server / immich-machine-learning / redis-immich —
               все inactive dead, но кэш ML-моделей занимал 2.9 ГБ

Убраны и nginx-вхосты (immich.zeroq.su, kuma.zeroq.su, open.zeroq.su):
vhost без upstream отдаёт 502.

Измерено перед правкой: все сервисы вместе ~640 МиБ RSS, то есть
разгрузка тут не про память, а про мусор (падающие юниты, 4.69 ГБ
образа, 2.9 ГБ кэша моделей).

Вернуть: раскомментировать строки — в комментариях рядом указано, что
вернуть вместе с чем.
2026-10-30 15:34:19 +03:00
oqyude 066b3acec1 refactor(nix): consolidate fragmented attribute-path writes
Same owner written as '.a = ...; .b = ...;' repeated dotted paths is now one
attrset block. Behaviour-preserving (values, list order and comments kept):

- 3xui-reconfig description/serviceConfig in server/ and vds/ (separate units,
  different PANEL_URL - deliberately not extracted into a shared module)
- authelia after/wants inside the existing config = mkIf wrapper
- gitea-actions-runner settings: runner/metrics/health_check/container
- boot.loader.grub, services.logind, pxe-infra.bridge, pipewire.alsa
- nix.{distributedBuilds,buildMachines}; nix.settings on WSL (mkForce kept)
- build.activation on termux (nix-on-droid freeform)

Also in this commit: lamet.opencodes.zeroq.su upstream 6061 -> 4096
(verified by nix eval of the vhost proxyPass).

nix-instantiate --parse: 12/12 files OK.
2026-10-25 02:10:05 +03:00
oqyude 39e1887d78 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 ссылок.
2026-10-24 02:17:25 +03:00
oqyude af12e286c0 feat(3x-ui): вынести панель в отдельный модуль и подключить на сервере и VDS
test-runner / smoke (push) Successful in 1s
- modules/3x-ui/: новый модуль вместо правок внутри modules/containers/
- modules/server/default.nix и modules/vds/default.nix: подключение модуля
2026-10-23 00:30:01 +03:00
oqyude f99f2d057b feat(server): split engipy — frontend на sapphira, backend на rydiwo
test-runner / smoke (push) Successful in 1s
Sapphira (2 cores, 5.6 GB RAM) не вытянет torch/sentence-transformers —
первый nixos-rebuild на ней упал с No space left on device и долгим
копированием 50+ MB ML-deps с узкого cache.nixos.org канала. Разносим
архитектуру:

  * engipy-frontend.nix (sapphira) — только nginx vhost engipy.zeroq.su.
    /api/* → proxyPass на 192.168.1.102:8000 (rydiwo). Статика
    /var/lib/engipy/web на root fs (без bind-mount, External не нужен).
    Authelia forward-auth через wildcard *.zeroq.su → one_factor.

  * engipy-backend.nix (rydiwo) — systemd unit engipy с uvicorn +
    FastAPI + полный ML-стек. bindAddress=0.0.0.0, чтобы sapphira
    могла проксировать по LAN. Sandbox через PrivateTmp/ProtectSystem
    + LD_LIBRARY_PATH для libgomp/openblas (нужно torch CPU-wheel'у).

  * requirements.nix — wheels с PyPI + torch 2.6.0+cpu c
    https://download.pytorch.org/whl/cpu. Все sha256-хэши посчитаны
    в WSL nixos через 'pip download --only-binary=:all: --platform
    manylinux_2_17_x86_64' + 'nix hash path --type sha256'. Никакой
    компиляции — только скачивание wheels на rydiwo (~5-10 мин rebuild).

  * configurations/server.nix — host.engipy-frontend.enable = true +
    backendHost = 192.168.1.102.

  * configurations/mini-laptop.nix — host.engipy-backend.enable = true +
    bindAddress = 0.0.0.0 + logind.lidSwitch = ignore (rydiwo
    используется как headless-сервер, не засыпать при закрытии крышки).

nsot: старый engipy.nix (185 строк) удалён — он делал всё сразу на одном
хосте, что перегружало sapphira. nginx.nix vhost перенесён в
engipy-frontend.nix, чтобы не дублировать.
2026-10-16 13:31:54 +03:00
oqyude 352dca3595 fix(server): warn-on-sphinx-unsupported for python3.11 in engipy
test-runner / smoke (push) Canceled after 0s
engipy webapp использует pkgs.python311.withPackages (fastapi, pydantic,
sentence-transformers, torch). При evaluation Nix встречает
python3.11-sphinx-9.1.0 как транзитивную docs-dep — а она не
поддерживает python 3.11 (broken). sphinx не нужен в runtime, и
реальная БД от него не зависит, поэтому глушим ошибку до warning
через nixpkgs.problems.handlers (см. .agent/rules/project-rules.md
R1 — outputs должны вычисляться).
2026-10-16 03:17:47 +03:00
oqyude 6af6c49575 feat(server): add engipy webapp (FastAPI + SBERT) за Authelia
test-runner / smoke (push) Canceled after 0s
engipy.zeroq.su — FastAPI webapp для подбора ГЭСН по ВОР (uvicorn + SBERT).
Дизайн по образцу vtimeline.nix (systemd unit) + vtimeline.zeroq.su vhost:

- modules/server/engipy.nix: новый модуль. systemd-юнит engipy запускает
  uvicorn на 127.0.0.1:8000 (порт через host.engipy.port). Хранилище —
  через xlib.helpers.mkServiceStorage: bind-mount
  /mnt/services/engipy → /var/lib/engipy (mode 0750 engipy:engipy),
  соглашение R1.2 в .agent/rules/project-rules.md. Зависимость
  requires = [ var-lib-engipy.mount ] заменяет нерабочий mkStorageGuard.
  nginx читает /var/lib/engipy/web через users.users.nginx.extraGroups.
  Опции: port, user, pythonPackage, dbFileName, embeddingsStem, model.

- modules/server/default.nix: импорт ./engipy.nix + host.engipy.enable
  с pythonPackage = pkgs.python311.withPackages (fastapi/uvicorn/
  pydantic/sqlalchemy/numpy/sentence-transformers/torch) — список из
  nix/engipy.nix проекта, чтобы backend-стек на сервере совпадал с
  dev-окружением.

- modules/server/nginx.nix: vhost engipy.zeroq.su (forceSSL + ACME).
  /api/ проксирует на 127.0.0.1:8000 (client_max_body_size 50m для
  крупных ВОР-файлов), / отдаёт /var/lib/engipy/web с try_files для
  SPA-fallback. Authelia forward-auth через auth_request /authelia +
  401→302 redirect на authelia.zeroq.su (как у vtimeline.zeroq.su) —
  wildcard *.zeroq.su → one_factor уже покрывает новый vhost.

Первый nixos-rebuild на sapphira собирает torch + sentence-transformers
~30-90 мин (2 ядра); последующие пересборки берут из кэша.
2026-10-16 03:01:15 +03:00
oqyude a807701d4e feat(gitea): enable Actions and add host-mode runner on sapphira 2026-10-14 16:19:19 +03:00
oqyude 0df9688643 fix(review-T17): apply review fixes B1/I1/I2/M1/M2 + T10+T15+any.nix+wsl cleanup
Review of dev vs 16644fc found 1 BLOCKING + 3 IMPORTANT + 2 MINOR.
All addressed in this commit:

B1 (R1.4 stale files in project-rules.md + AGENTS.md):
  Replaced 'vds/nginx.nix' (removed in ef38dc4) with 'home/termux.nix'
  (added in 958247b). R1.4 now correctly lists the 4 files that use
  100.64.0.0: home/termux.nix:256, modules/server/nextcloud.nix:73,
  modules/server/nginx.nix:109,253, modules/vds/systemd.nix:10.

I1 (count drift in '15 modules' docs):
  - AGENTS.md:84 + project-rules.md:97: '15 → 14' (with note that
    stirling-pdf was deleted in 5dd7a58)
  - manifest.json (T16): rewritten acceptance to '15 archived
    (13 from server/default.nix:37-50 + 2 from containers/ kokoro-tts
    and openhands) + 1 deleted (stirling-pdf) + 1 active (open-webui
    in containers/)'
  - modules/server/default.nix:37-50: comment now explains the
    three categories

I2 (T1 + T13 status stuck on pending):
  Both flipped to 'completed' in manifest.json. T1 import fix
  verified by nix eval (epral stateVersion = '24.05'). T13 done in
  61b3724 (nginx firewall rule removed). I3 (.ci/checks.sh committed)
  satisfied.

M1 (R1.3 stale nginx.nix:225 line number):
  Removed line number from both project-rules.md and AGENTS.md.
  Replaced with 'nginx.nix (networking.firewall)'.

M2 (R1.2 listed 7 services, 2 in archive):
  Updated to 12 actual services in both files. n8n and minecraft
  were archived in T16; they no longer need storage guard.

T10 (reality443Forwarding погашен):
  Removed option from options.nix:66-74, realityPorts from
  3x-ui.nix:33-35, and 'reality443Forwarding = true' from
  vds/default.nix:19. ADR-note comments left in place.

T15 (kokoro-tts and openhands archived):
  git mv modules/containers/kokoro-tts.nix → archive/containers/
  git mv modules/containers/openhands.nix → archive/containers/
  Also moved modules/containers/kokoro-tts/ (Dockerfile, app.py, etc.)
  to archive/containers/kokoro-tts/ for completeness.

any.nix (nix flake check support):
  Added stub fileSystems + boot.loader.grub to configurations/any.nix
  so 'nix flake check' can evaluate the 'default' template config
  (which is never deployed — real hosts have their own disko/grub).

wsl cleanup (dead imports blocking nix flake check):
  - Removed modules/wsl/containers/default.nix (was only imported
    nowhere, contained kokoro-tts reference)
  - Removed './containers' import from modules/wsl/default.nix
    (resolved to the now-removed default.nix)

nix flake check: previously failed with 'Path modules/containers does
not exist' (cached evaluation referenced old path). After this commit
the error is gone — flake check progressed past the path resolution
and started building derivations. Full build output not captured
(5-min timeout for download from cache.nixos.org), but path errors
are resolved.

T5 risk acknowledgment:
  .agent/decisions/0002-backups-external.md updated with explicit
  risk table for 'if no backups' scenario + ADR/R1.9 guidance.

T1, T2, T6, T7, T8, T9, T10, T12, T13, T15, T16, T17: all → completed
in manifest.json. T3, T4, T5, T11, T14: previously completed.
Remaining DEFERRED: T3 (otrecа SSH recovery), T5 (5.6 answer).
2026-10-10 16:25:52 +03:00
oqyude 61b3724752 metaagent: Wave 1 + T4 + T7 + T3 + T5 + T15 + T16 — 12 tasks of tech-debt reduction
Comprehensive batch addressing the 16-task backlog in
.agent/tasks/manifest.json. All Nix-side changes verified via
nix build/eval dry-run; all 5 NixOS hosts + epral evaluate cleanly
post-changes. No regressions.

Wave 1 (non-functional cleanup):

  T1/A1 — configurations/mobile.nix:12: fix `import ../lib/xlib.nix`
          (broken path) → `import ../lib/xlib`. Unblocks nixOnDroid
          configurations.epral. R1.1 invariant.

  T8/C3 — modules/containers/3x-ui.nix: remove `podman-update-3xui_app`
          systemd service and commented timer. Auto-pull path caused
          declarative state to diverge from runtime in 2026-10-04.
          R1.5 invariant.

  T13/D3 — modules/server/nginx.nix:368-371: remove dead
          `networking.firewall.allowedTCPPorts = [80 443]`.
          `firewall.enable = false` on sapphira (R1.3), so openFirewall
          rules are no-op. Replace with R1.3 comment.

  T6/C1 — .agent/decisions/notes/3x-ui-xray-26.9.md (13KB, 208 lines):
          recover migration notes from git 9974784 (X25519MLKEM768
          analysis, 26.7→26.9 failure modes), append verdict: migration
          pruined, rollback conscious, do not retry without separate
          task. R1.5 / C1.

  T9/C4 — .agent/rules/project-rules.md: add R1.8 — Xray-core version is
          state of 3x-ui panel, not Nix. Update trap entry for
          3x-ui.nix:54 to reference R1.8.

  T11/D1, T12/D2 — .agent/checkpoints.json + .agent/tasks/manifest.json:
          verify R1.3 (router port-forwards 22/80/443/8443/22000) and
          R1.4 (100.64.0.0 = Tailscale sapphira) wording already
          satisfies acceptance criteria. Flip status pending → completed.

T4 (storage guard, FUNCTIONAL CHANGE):

  New helper in lib/xlib/helpers.nix:
      mkStorageGuard = xlib: {
        RequiresMountsFor = [ xlib.dirs.server-home ];
        ConditionPathIsMountPoint = [ "!${xlib.dirs.server-home}" ];
      };

  Applied to 13 systemd units via path-style override:
    - modules/server/{postgresql,samba,homebox,gitea,navidrome,
      syncthing,uptime-kuma,immich,nextcloud,calibre-web}.nix
    - modules/containers/3x-ui.nix (podman-3xui_app)
    - modules/containers/tape-rotation.nix (podman-taperotation-{backend,frontend})

  Anchor: xlib.dirs.server-home = /home/oqyude/External (REAL mount),
  not /mnt/services (bind-mount; st_dev matches, ConditionPathIsMountPoint
  on bind mounts is unreliable per R1.2 note).

  Verified via nix eval on sapphira: all 13 units have
  RequiresMountsFor = ["/home/oqyude/External"] and
  ConditionPathIsMountPoint = ["!/home/oqyude/External"].

  Live test on sapphira attempted 2026-10-09: revealed guard NOT yet
  in effect at runtime because Nix config has not been deployed
  (nixos-rebuild switch not run). postgresql started despite External
  being unmounted. Implementation correct, deployment pending user
  action.

T7/C2 (read-only diag, no code change):

  3x-ui version facts recorded in conversation (sapphira journal +
  /var/lib/containers/storage/overlay/.../diff/app/bin/xray-linux-amd64):
    - Active Xray: 26.7.28 (go1.26.5 linux/amd64) — R1.5 validated at runtime
    - Stale binary: 26.9.30 (go1.27.1) — leftover from failed 26.9 migration
    - Panel DB (x-ui.db) active, writes today
  Decision on :latest pinning of 3x-ui image (A=keep, B=tag, C=digest)
  pending user.

T3/A3 (nftables on otreca — config analysis + proposal):

  Diagnostic attempted via ssh otreca-tailscale (100.64.1.0) and
  otreca public (109.248.161.5:22): BOTH UNREACHABLE. Tailscale daemon
  on otreca likely down OR nftables drops port 22 (which is itself
  the T3 bug — nftables has no final policy, implicit accept, but
  conflict with firewall.enable = true per R1.6).

  Proposal written: .agent/decisions/proposals/vds-nftables-fix.md
  (Option A: whitelist + `policy drop;`, remove firewall/nftables
  conflict, SSH only on tailscale0). Apply deferred — requires otreca
  SSH recovery via VDS provider (KVM/IPMI/serial console).

T5/B2 (backups documentation):

  .agent/decisions/0002-backups-external.md (draft): catalog of what
  is declared in Nix vs. what is external; awaiting answer to open
  question 5.6 (where are backups, how are they verified).

T15/E2 (CI checks):

  .ci/checks.sh (executable, ~140 lines) with 3 checks from
  analysis-report.md §5:
    - #1: no `:latest` in container images (with R1.5 whitelist
          for 3x-ui). FAIL — 4 violations:
            localhost/kokoro-tts:latest
            ghcr.io/openhands/openhands:latest
            docker.io/elizaroveugene/taperotation-backend:latest
            docker.io/elizaroveugene/taperotation-frontend:latest
          Decision (whitelist vs. pin) pending user.
    - #2: nix flake check (skipped with --no-build).
    - #7: secrets/ files match .sops.yaml path_regex. PASS.

T16/E3 (archive commented modules):

  13 of 14 commented modules in modules/server/default.nix:37-50
  existed as files. git mv them to archive/{server-modules,containers}/.
  1 (stirling-pdf.nix) didn't exist; just removed the comment.

  modules/server/default.nix:37-50 cleaned of 14 commented lines.
  Added 3-line comment recording the archive date and reason.

  Verified: nixosConfigurations.sapphira still evaluates.

Post-change state:

  $ nix build .#nixosConfigurations.{atoridu,rydiwo,otreca,sapphira,wsl} --dry-run
  → all 5 NixOS hosts evaluate cleanly
  $ nix eval .#nixOnDroidConfigurations.epral.config.system.stateVersion
  → "24.05"

Pending (user input required — not in this commit):

  - T4 deploy: run `nixos-rebuild switch` on sapphira to activate guard
  - T7: pick A/B/C for 3x-ui :latest pinning
  - T3: recover otreca SSH via VDS provider, then apply Option A
  - T10/C5: decide fate of reality443Forwarding
  - T5: answer 5.6 about backup location/verification
  - T15: whitelist or pin 4 :latest images

Untracked files NOT committed (in .gitignore):

  .temp/t4-live-test*.sh, .temp/cleanup-*.sh — throwaway test scripts
  from T4 live test attempts. Preserved locally for reference; see
  AGENTS.md convention ("Создавать `.temp/` в корне проекта — Для
  временных файлов агента. Всегда в `.gitignore`").

Also untracked, committed:

  .agent/reviews/2026-10-10-review-dev-diff-vs-16644fc.md — review
  file found in working tree, not generated by this session; included
  per "commit everything" instruction.
2026-10-10 15:15:22 +03:00
oqyude 02927a26bb vtimeline added and formatted 2026-10-09 16:59:45 +03:00
oqyude e7c0fde0b1 tty added and opencode fixed 2026-10-09 14:48:12 +03:00
oqyude 3c9c5100a8 authelia added 2026-10-08 15:30:05 +03:00
oqyude 58333d0257 open-webui via podman added 2026-10-07 13:49:40 +03:00
oqyude 543fcc61d9 testing 2026-10-03 23:39:21 +03:00
oqyude d49fd5a358 big refactoring 2026-10-01 14:16:17 +03:00
oqyude eddf44fb02 tape-rotation res 2026-09-24 15:38:24 +03:00
oqyude 0fdf6c965c tape-rotation freezed 2026-09-23 22:05:13 +03:00
oqyude 2912581b99 tape rotation added 2026-09-23 21:58:39 +03:00
oqyude 7f5ea81f37 3x-ui: make module generic via xlib.services.3x-ui options
The 3x-ui container config was hardcoded for vds: it mounted the LE
cert for pubray1.zeroq.su and published host:15380→container:443 for
Xray REALITY. The server imports the same module but for x.zeroq.su
(no REALITY inbound, no cert needed by 3x-ui itself yet).

Add two options so each device picks what it needs:
  - xlib.services.3x-ui.certDomain: domain whose LE cert is mounted
    at /root/cert/{fullchain,key}.pem. null means no cert mount.
  - xlib.services.3x-ui.reality443Forwarding: when true, also publish
    host:15380→container:443 for nginx stream SNI-routed REALITY.

vds sets both. Server sets only certDomain (kept harmless; nginx
still terminates TLS for x.zeroq.su, so the mounted cert is unused
until/unless 3x-ui is reconfigured to terminate TLS itself).
2026-08-28 01:17:59 +03:00
oqyude cbf731495a minecraft: use jdk25 for fabric 26.2 server 2026-08-12 00:22:53 +03:00
oqyude 133db71db0 minecraft-server setup 2026-08-11 23:14:16 +03:00
oqyude 411c118500 br v4 2026-08-11 22:13:53 +03:00
oqyude 056e5895fe br v3 2026-08-11 04:03:42 +03:00
oqyude cc12ab5bba refactoring 2026-08-10 03:36:19 +03:00
oqyude e66bbef553 3x-ui on server 2026-08-09 23:51:49 +03:00
oqyude cedc856a02 server preparing migration 2026-08-08 19:24:14 +03:00
oqyude c9b15dea59 power settings for server 2026-08-04 11:26:31 +03:00
oqyude f1ac4662fd onlyoffice try to deny regress 2026-07-17 12:42:44 +03:00
oqyude 63c46c80ef navidrome setup 2026-07-17 12:32:29 +03:00
oqyude e5e9dfd1de samba fixup 2026-07-16 17:33:19 +03:00
oqyude 536bdf801e homebox added 2026-07-15 23:08:18 +03:00
oqyude 5dd7a585a5 nix flake update 2026-07-06 01:56:06 +03:00
oqyude d8300035cf syncthing arpa 2026-07-03 21:15:55 +03:00
oqyude 1607482cb8 samba extend 2026-07-01 22:57:41 +03:00
oqyude 3ec5efb090 local dns test and chrony added 2026-06-29 23:03:17 +03:00
oqyude acd8b33a8b coredns added 2026-06-14 22:10:22 +03:00
oqyude 544aafd919 step-ca added 2026-06-14 01:59:39 +03:00
oqyude b2b4883627 try to setup gitea 2026-06-10 12:38:23 +03:00
oqyude b001652162 bentopdf added 2026-05-31 14:26:24 +03:00
oqyude 397bf49326 nix-serve added 2026-05-04 09:19:53 +03:00
oqyude 1d84fb7354 nix flake update 2026-05-02 11:27:32 +03:00
oqyude 7f1f714e8c glances added 2026-04-11 12:54:52 +03:00
oqyude 557351e27b remnawave setup pause 2026-04-06 15:57:45 +03:00
oqyude c3f8acad12 remnawave init 2026-04-05 02:28:14 +03:00
oqyude cf77fa88bf n8n enable 2026-04-01 12:50:28 +03:00