boot.initrd.systemd.suppressedUnits

NixOS option

A list of units to skip when generating system systemd configuration directory. This has priority over upstream units, boot.initrd.systemd.units, and boot.initrd.systemd.additionalUpstreamUnits. 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.

type: list of string
Default
[ ]
Example
[
  "systemd-backlight@.service"
]
declared in: nixos/modules/system/boot/systemd/initrd.nixView source on NixOS/nixpkgs →