misc: remove deprecated/renamed options warnings

This commit is contained in:
Gaetan Lepage 2023-05-19 12:38:24 +02:00 committed by Gaétan Lepage
parent a10b6f02cd
commit 2da04fa4ad
8 changed files with 5 additions and 327 deletions

View file

@ -7,21 +7,11 @@
with lib; let
cfg = config.plugins.notify;
helpers = import ../helpers.nix {inherit lib;};
optionWarnings = import ../../lib/option-warnings.nix {inherit lib;};
basePluginPath = ["plugins" "notify"];
icon = mkOption {
type = types.nullOr types.str;
default = null;
};
in {
imports = [
(optionWarnings.mkRenamedOption {
# 2023-03-24
option = basePluginPath ++ ["backgroundColor"];
newOption = basePluginPath ++ ["backgroundColour"];
})
];
options.plugins.notify = {
enable = mkEnableOption "notify";