mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 10:09:45 +01:00
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
1 changed files with 7 additions and 2 deletions
|
@ -4,8 +4,8 @@ let
|
||||||
inherit (builtins) elemAt isAttrs isBool length mapAttrs toJSON;
|
inherit (builtins) elemAt isAttrs isBool length mapAttrs toJSON;
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
boolToString concatMapStringsSep concatStringsSep escape literalExpression
|
boolToString concatMapStringsSep concatStringsSep escape literalExpression
|
||||||
mapAttrsToList mkEnableOption mkRemovedOptionModule mkDefault mkIf mkOption
|
mapAttrsToList mkEnableOption mkRenamedOptionModule mkRemovedOptionModule
|
||||||
optional types warn;
|
mkDefault mkIf mkOption optional types warn;
|
||||||
|
|
||||||
cfg = config.services.picom;
|
cfg = config.services.picom;
|
||||||
opt = options.services.picom;
|
opt = options.services.picom;
|
||||||
|
@ -66,6 +66,11 @@ in {
|
||||||
"The option `refresh-rate` has been deprecated by upstream.")
|
"The option `refresh-rate` has been deprecated by upstream.")
|
||||||
(mkRemovedOptionModule [ "services" "picom" "extraOptions" ]
|
(mkRemovedOptionModule [ "services" "picom" "extraOptions" ]
|
||||||
"This option has been replaced by `services.picom.settings`.")
|
"This option has been replaced by `services.picom.settings`.")
|
||||||
|
(mkRenamedOptionModule [ "services" "picom" "opacityRule" ] [
|
||||||
|
"services"
|
||||||
|
"picom"
|
||||||
|
"opacityRules"
|
||||||
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
options.services.picom = {
|
options.services.picom = {
|
||||||
|
|
Loading…
Reference in a new issue