MyNixOS website logo
option

systemd.sockets.<name>.overrideStrategy

Defines how unit configuration is provided for systemd:

asDropinIfExists creates a unit file when no unit file is provided by the package otherwise a drop-in file name overrides.conf.

asDropin creates a drop-in file named overrides.conf. Mainly needed to define instances for systemd template units (e.g. [email protected]).

See also systemd.unit(5).

Declarations
Type
one of "asDropinIfExists", "asDropin"
Default
"asDropinIfExists"