From c5fc157554e24a75cf4fb7a8827caa43f51df708 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 12 Jul 2022 08:52:43 -0700 Subject: [PATCH] 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 --- modules/services/picom.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/services/picom.nix b/modules/services/picom.nix index 5f4e10f55..a279c155b 100644 --- a/modules/services/picom.nix +++ b/modules/services/picom.nix @@ -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 = {