boot.postBootCommands

Shell commands to be executed just before systemd is started.

Type
strings concatenated with "\n"
Default
""
Example
"rm -f /var/log/messages"
Declared
<nixpkgs/nixos/modules/system/boot/stage-2.nix>