diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 9a187e86d76b..467a5d04516f 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -374,9 +374,7 @@ in generatorPath = mkOption { type = types.listOf types.package; default = [ ]; - example = [ - pkgs.hello - ]; + example = lib.literalExpression "[ pkgs.hello ]"; description = '' Packages added to the `PATH` environment variable of all systemd generators. '';