powerManagement.powerUpCommands

NixOS option

Commands executed when the machine powers up. That is, they’re executed both when the system first boots and when it resumes from suspend or hibernation.

type: strings concatenated with "\n"
Default
""
Example
"${pkgs.powertop}/bin/powertop --auto-tune"
declared in: nixos/modules/config/power-management.nixView source on NixOS/nixpkgs →