diff options
author | Christian Kögler <ck3d@gmx.de> | 2022-10-28 22:04:58 +0200 |
---|---|---|
committer | Christian Kögler <ck3d@gmx.de> | 2022-10-29 16:19:50 +0200 |
commit | fa269d4e0d2a8f48f10605878ef91314bec325c9 (patch) | |
tree | 06928ff2070fc95bca147ec9a766c1b88764ea16 /nixos | |
parent | 2b544f67efd7b507c883c3dd1e5ee55921d542b3 (diff) | |
download | nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar.gz nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar.bz2 nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar.lz nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar.xz nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.tar.zst nixpkgs-fa269d4e0d2a8f48f10605878ef91314bec325c9.zip |
doc/rl-2211: add new option overrideStrategy
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2211.section.xml | 17 | ||||
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2211.section.md | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index 5de4080e5c2..c86bf6c7435 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -896,6 +896,23 @@ </listitem> <listitem> <para> + The option <literal>overrideStrategy</literal> was added to + the different systemd unit options + (<literal>systemd.services.<name></literal>, + <literal>systemd.sockets.<name></literal>, …) to allow + enforcing the creation of a dropin file, rather than the main + unit file, by setting it to <literal>asDropin</literal>. 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 + <literal>systemd.packages</literal>. See the fix proposed in + <link xlink:href="https://github.com/NixOS/nixpkgs/issues/135557#issuecomment-1295392470">NixOS’s + systemd abstraction doesn’t work with systemd template + units</link> for an example. + </para> + </listitem> + <listitem> + <para> The <literal>polymc</literal> package has been removed due to a rogue maintainer. It has been replaced by <literal>prismlauncher</literal>, a fork by the rest of the diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 374d7bd83fa..90c423f2a21 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -279,6 +279,10 @@ Available as [services.patroni](options.html#opt-services.patroni.enable). - The `networking.wireguard` module now can set the mtu on interfaces and tag its packets with an fwmark. +- 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`. + 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`. + 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. + - The `polymc` package has been removed due to a rogue maintainer. It has been replaced by `prismlauncher`, a fork by the rest of the maintainers. For more details, see [the pull request that made this |