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.

Type
strings concatenated with "\n"
Default
""
Example
"${pkgs.hdparm}/sbin/hdparm -B 255 /dev/sda"
Declared
<nixpkgs/nixos/modules/config/power-management.nix>