From 5bfe21331548db28279776debc073b02de71e2e3 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Tue, 22 Mar 2022 07:11:54 -0400 Subject: [PATCH] Clarify suppressed units description --- nixos/modules/system/boot/systemd.nix | 5 +++-- nixos/modules/system/boot/systemd/initrd.nix | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index fd5500773626..a21b2bab9158 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -339,10 +339,11 @@ in type = types.listOf types.str; example = [ "systemd-backlight@.service" ]; description = '' - A list of units to suppress when generating system systemd configuration directory. This has + A list of units to skip when generating system systemd configuration directory. This has priority over upstream units, , and . The main purpose of this is to - suppress a upstream systemd unit with any modifications made to it by other NixOS modules. + prevent a upstream systemd unit from being added to the initrd with any modifications made to it + by other NixOS modules. ''; }; diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 8cf575eb61ad..2aeb6c5c965b 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -205,10 +205,11 @@ in { example = [ "systemd-backlight@.service" ]; visible = false; description = '' - A list of units to suppress when generating system systemd configuration directory. This has - priority over upstream units, , and - . The main purpose of this is to - suppress a upstream systemd unit with any modifications made to it by other NixOS modules. + A list of units to skip when generating system systemd configuration directory. This has + priority over upstream units, , and + . The main purpose of this is to + prevent a upstream systemd unit from being added to the initrd with any modifications made to it + by other NixOS modules. ''; };