systemd.suppressedSystemUnits

NixOS option

A list of units to skip when generating system systemd configuration directory. This has priority over upstream units, systemd.units, and systemd.additionalUpstreamSystemUnits. 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.nixView source on NixOS/nixpkgs →