MyNixOS website logo
option

systemd.sockets.<name>.socketConfig

Each attribute in this set specifies an option in the [Socket] section of the unit. See systemd.socket(5) for details.

Declarations
Type
attribute set of (systemd option)
Default
{ }
Example
{
  ListenStream = "/run/my-socket";
}