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:
parent
1e66e035e1
commit
c5fc157554
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue