MyNixOS website logo
option

networking.localCommands

Shell commands to be executed at the end of the network-setup systemd service. Note that if you are using DHCP to obtain the network configuration, interfaces may not be fully configured yet.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
"text=anything; echo You can put $text here."