···908 </listitem>
909 <listitem>
910 <para>
00000000000000000911 The <literal>polymc</literal> package has been removed due to
912 a rogue maintainer. It has been replaced by
913 <literal>prismlauncher</literal>, a fork by the rest of the
···908 </listitem>
909 <listitem>
910 <para>
911+ The option <literal>overrideStrategy</literal> was added to
912+ the different systemd unit options
913+ (<literal>systemd.services.<name></literal>,
914+ <literal>systemd.sockets.<name></literal>, …) to allow
915+ enforcing the creation of a dropin file, rather than the main
916+ unit file, by setting it to <literal>asDropin</literal>. This
917+ is useful in cases where the existence of the main unit file
918+ is not known to Nix at evaluation time, for example when the
919+ main unit file is provided by adding a package to
920+ <literal>systemd.packages</literal>. See the fix proposed in
921+ <link xlink:href="https://github.com/NixOS/nixpkgs/issues/135557#issuecomment-1295392470">NixOS’s
922+ systemd abstraction doesn’t work with systemd template
923+ units</link> for an example.
924+ </para>
925+ </listitem>
926+ <listitem>
927+ <para>
928 The <literal>polymc</literal> package has been removed due to
929 a rogue maintainer. It has been replaced by
930 <literal>prismlauncher</literal>, a fork by the rest of the
+4
nixos/doc/manual/release-notes/rl-2211.section.md
···281282- The `networking.wireguard` module now can set the mtu on interfaces and tag its packets with an fwmark.
2830000284- The `polymc` package has been removed due to a rogue maintainer. It has been
285 replaced by `prismlauncher`, a fork by the rest of the maintainers. For more
286 details, see [the pull request that made this
···281282- The `networking.wireguard` module now can set the mtu on interfaces and tag its packets with an fwmark.
283284+- The option `overrideStrategy` was added to the different systemd unit options (`systemd.services.<name>`, `systemd.sockets.<name>`, …) to allow enforcing the creation of a dropin file, rather than the main unit file, by setting it to `asDropin`.
285+ This is useful in cases where the existence of the main unit file is not known to Nix at evaluation time, for example when the main unit file is provided by adding a package to `systemd.packages`.
286+ See the fix proposed in [NixOS's systemd abstraction doesn't work with systemd template units](https://github.com/NixOS/nixpkgs/issues/135557#issuecomment-1295392470) for an example.
287+288- The `polymc` package has been removed due to a rogue maintainer. It has been
289 replaced by `prismlauncher`, a fork by the rest of the maintainers. For more
290 details, see [the pull request that made this