From ecb69c2a1a036f063e887b0fa6655dc7a5e7e7d9 Mon Sep 17 00:00:00 2001 From: oqyude Date: Sun, 1 Nov 2026 17:35:23 +0300 Subject: [PATCH 1/2] =?UTF-8?q?fix(nixos):=20=D1=83=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D1=82=D1=8C=20boot.initrd.verbose=20=D0=B8=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B8=D0=BC=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20lidSwitch*=20=E2=80=94=20=D1=84=D0=BB=D0=B5=D0=B9?= =?UTF-8?q?=D0=BA=20=D0=BD=D0=B5=20=D0=BE=D1=86=D0=B5=D0=BD=D0=B8=D0=B2?= =?UTF-8?q?=D0=B0=D0=B5=D1=82=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nixpkgs 31ecbaca удалил опцию boot.initrd.verbose, поэтому nixos-rebuild switch падал в фазе оценки (evaluation) на rydiwo. Управление verbosity initrd теперь через rd.systemd.show_status в kernelParams. Опции services.logind.lidSwitch / lidSwitchDocked переименованы в nixpkgs в services.logind.settings.Login.HandleLidSwitch / HandleLidSwitchDocked; значения сохранены. --- configurations/mini-laptop.nix | 11 ++++++++--- modules/desktop/default.nix | 5 ++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/configurations/mini-laptop.nix b/configurations/mini-laptop.nix index b9624d5..1b3c63d 100644 --- a/configurations/mini-laptop.nix +++ b/configurations/mini-laptop.nix @@ -67,9 +67,14 @@ # headless-сервер для engipy (sapphira проксирует /api/* на него). # Если пользователь берёт ноутбук в руки — пусть остаётся правило # по умолчанию (suspend); но для unattended-режима нужно ignore. - services.logind = { - lidSwitch = "ignore"; - lidSwitchDocked = "ignore"; + # + # 2026-11-01: `services.logind.lidSwitch` / `lidSwitchDocked` переименованы + # в nixpkgs (`services.logind.settings.Login.HandleLidSwitch{,Docked}`) — + # старое имя работает, но печатает предупреждение при каждой оценке. + # Значения те же, что и у systemd в logind.conf. + services.logind.settings.Login = { + HandleLidSwitch = "ignore"; + HandleLidSwitchDocked = "ignore"; }; system.stateVersion = "26.05"; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 66f9cf0..8d86b92 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -66,7 +66,10 @@ theme = "bgrt"; }; consoleLogLevel = 3; # Enable "Silent boot" - initrd.verbose = false; + # `boot.initrd.verbose` was REMOVED upstream (nixpkgs 26.05+): the + # scripted stage 1 is gone, and the systemd stage 1 has no such option. + # Its verbosity is governed by `rd.systemd.show_status` (kernelParams + # below) instead — set that to 0 there for a fully silent initrd. kernelParams = [ "quiet" "splash" From 0c3e0d556c4deae97b4ff76795a9859bd63e6b14 Mon Sep 17 00:00:00 2001 From: oqyude Date: Sun, 1 Nov 2026 17:35:25 +0300 Subject: [PATCH 2/2] =?UTF-8?q?feat(models):=20=D0=B0=D0=B3=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D1=8B=20=D0=BD=D0=B0=20console-oqyude/MiniMax-M3.1-Flash?= =?UTF-8?q?=20(minimax=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20opencode=20conso?= =?UTF-8?q?le)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/modules/opencode.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/home/modules/opencode.nix b/home/modules/opencode.nix index 8f1c18d..8704521 100644 --- a/home/modules/opencode.nix +++ b/home/modules/opencode.nix @@ -74,12 +74,18 @@ let pluginSpec = "oh-my-opencode-slim@3.0.5"; # Model ids are validated against the provider registry, not against taste. - # `opencode models` on this host lists the opencode-go registry, which is the - # account the director already spends from: state/quota.json - # `provider_selection.model` = opencode-go/deepseek-v4.1-flash, and every - # worker session the director mints is created with exactly that pair. Using - # the same provider for the agents makes the director's quota gate guard the - # model the agents actually run, instead of a second, invisible budget. + # `opencode models` on this host lists the console providers of the + # OpenCode console accounts (console-oqyude, console-gobin) next to the + # opencode-go and minimax-coding-plan registries. An id that is NOT in that + # list is a ProviderModelNotFoundError at spawn time — the kimi-for-coding + # class of bug (see R1.x). + # + # 2026-11-01: default model moved + # opencode-go/deepseek-v4.1-flash -> console-oqyude/MiniMax-M3.1-Flash + # Reason: the owner moved the agent models to minimax through the opencode + # console: oqyude is the primary console account, gobin the fallback one + # (both are MiniMax token plans behind the console). Both ids are in the + # registry — verified with `oc models` on sapphira, 2026-11-01. # # 2026-10-26: default model moved # minimax-coding-plan/MiniMax-M3.1-Flash -> opencode-go/deepseek-v4.1-flash @@ -93,7 +99,7 @@ let # (MiniMax-M3.1-Flash-Preview, MiniMax-M2.7-highspeed, ... — the retired v1 # plugin config referenced the -Preview id everywhere; same class of bug as # the kimi-for-coding incident described in R1.x). - modelFast = "opencode-go/deepseek-v4.1-flash"; + modelFast = "console-oqyude/MiniMax-M3.1-Flash"; # nixpkgs ast-grep only ships binary `ast-grep`; omo's ast-grep skill probes # for `sg` (or ast-grep). Provide both via a symlink wrapper.