From 8f6b1ac340cab430cb428635f1ee0340f9beae86 Mon Sep 17 00:00:00 2001 From: squat Date: Fri, 9 May 2025 20:21:06 +0200 Subject: [PATCH] nixos/lib: fix typo in documentation for systemd This commit fixes a small typo in the documentation for the `asDropinIfExists` option and clarifies the comment. Signed-off-by: squat --- nixos/lib/systemd-unit-options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/systemd-unit-options.nix b/nixos/lib/systemd-unit-options.nix index 27d2e5d18391..0ddae4e20198 100644 --- a/nixos/lib/systemd-unit-options.nix +++ b/nixos/lib/systemd-unit-options.nix @@ -99,7 +99,7 @@ rec { 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`. + otherwise it creates a drop-in file named `overrides.conf`. `asDropin` creates a drop-in file named `overrides.conf`. Mainly needed to define instances for systemd template units (e.g. `systemd-nspawn@mycontainer.service`).