picom: fix option name

The `services.picom.opacityRule` option was renamed to
`services.picom.opacityRules`.

This was missed in #2939

Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
Sumner Evans 2022-07-12 08:52:43 -07:00 committed by Robert Helgesson
parent 1e66e035e1
commit c5fc157554
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -4,8 +4,8 @@ let
inherit (builtins) elemAt isAttrs isBool length mapAttrs toJSON;
inherit (lib)
boolToString concatMapStringsSep concatStringsSep escape literalExpression
mapAttrsToList mkEnableOption mkRemovedOptionModule mkDefault mkIf mkOption
optional types warn;
mapAttrsToList mkEnableOption mkRenamedOptionModule mkRemovedOptionModule
mkDefault mkIf mkOption optional types warn;
cfg = config.services.picom;
opt = options.services.picom;
@ -66,6 +66,11 @@ in {
"The option `refresh-rate` has been deprecated by upstream.")
(mkRemovedOptionModule [ "services" "picom" "extraOptions" ]
"This option has been replaced by `services.picom.settings`.")
(mkRenamedOptionModule [ "services" "picom" "opacityRule" ] [
"services"
"picom"
"opacityRules"
])
];
options.services.picom = {