MyNixOS website logo
option

powerManagement.powerDownCommands

Commands executed when the machine powers down. That is, they're executed both when the system shuts down and when it goes to suspend or hibernation.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
"${pkgs.hdparm}/sbin/hdparm -B 255 /dev/sda"