fix(nixos): убрать boot.initrd.verbose и переименовать lidSwitch* — флейк не оценивается

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; значения сохранены.
This commit is contained in:
oqyude committed 2026-11-01 17:35:23 +03:00
1 parent 2f17fcc834
commit ecb69c2a1a
2 files changed
+12 -4

No files matched your search

+4 -1
View File
@@ -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"