ITADN

macbook-12-1: powerManagement.powerUpCommands is going to be deprecated in nixos 26.11

#1794OpenLight3r26 创建于 2026-03-16
L
Light3r26commented
``` evaluation warning: powerManagement.powerUpCommands is deprecated due to it having unclear ordering semantics. It will be removed in NixOS 26.11. It is recommended to create an explicit systemd oneshot service instead, that is pulled in at the right time during the boot process. See https://www.freedesktop.org/software/systemd/man/latest/systemd.special.html for more information on possible targets that can be used for this. If you also want to run this service upon waking up from resume, the recommended method to do so is described here: https://www.freedesktop.org/software/systemd/man/latest/systemd.special.html#sleep.target ```
0 条评论