1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 01:48:31 +02:00

treewide: mkPackageOption -> mkPackageOptionMD

This commit is contained in:
Emily 2023-07-01 10:41:32 +01:00
parent 71df507159
commit e04de5b308
53 changed files with 60 additions and 59 deletions

View File

@ -33,7 +33,7 @@ in {
enable = mkEnableOption "aerc"; enable = mkEnableOption "aerc";
package = mkPackageOption pkgs "aerc" { }; package = mkPackageOptionMD pkgs "aerc" { };
extraAccounts = mkOption { extraAccounts = mkOption {
type = sectionsOrLines; type = sectionsOrLines;

View File

@ -30,7 +30,7 @@ in {
useFriendlyNames = mkEnableOption "friendly names"; useFriendlyNames = mkEnableOption "friendly names";
package = mkPackageOption pkgs "antidote" { }; package = mkPackageOptionMD pkgs "antidote" { };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@ -182,7 +182,7 @@ in {
programs.borgmatic = { programs.borgmatic = {
enable = mkEnableOption "Borgmatic"; enable = mkEnableOption "Borgmatic";
package = mkPackageOption pkgs "borgmatic" { }; package = mkPackageOptionMD pkgs "borgmatic" { };
backups = mkOption { backups = mkOption {
type = types.attrsOf configModule; type = types.attrsOf configModule;

View File

@ -84,7 +84,7 @@ in {
options.programs.boxxy = { options.programs.boxxy = {
enable = mkEnableOption "boxxy: Boxes in badly behaving applications"; enable = mkEnableOption "boxxy: Boxes in badly behaving applications";
package = mkPackageOption pkgs "boxxy" { }; package = mkPackageOptionMD pkgs "boxxy" { };
rules = mkOption { rules = mkOption {
type = types.listOf boxxyRulesOpts; type = types.listOf boxxyRulesOpts;

View File

@ -30,7 +30,7 @@ in {
options.programs.btop = { options.programs.btop = {
enable = mkEnableOption "btop"; enable = mkEnableOption "btop";
package = mkPackageOption pkgs "btop" { }; package = mkPackageOptionMD pkgs "btop" { };
settings = mkOption { settings = mkOption {
type = with types; attrsOf (oneOf [ bool float int str ]); type = with types; attrsOf (oneOf [ bool float int str ]);

View File

@ -10,7 +10,7 @@ in {
options.programs.comodoro = { options.programs.comodoro = {
enable = lib.mkEnableOption "Comodoro, a CLI to manage your time"; enable = lib.mkEnableOption "Comodoro, a CLI to manage your time";
package = lib.mkPackageOption pkgs "comodoro" { }; package = lib.mkPackageOptionMD pkgs "comodoro" { };
settings = lib.mkOption { settings = lib.mkOption {
type = lib.types.submodule { freeformType = tomlFormat.type; }; type = lib.types.submodule { freeformType = tomlFormat.type; };

View File

@ -11,9 +11,9 @@ in {
enable = mkEnableOption enable = mkEnableOption
"discocss, a tiny Discord CSS injector for Linux and MacOS"; "discocss, a tiny Discord CSS injector for Linux and MacOS";
package = mkPackageOption pkgs "discocss" { }; package = mkPackageOptionMD pkgs "discocss" { };
discordPackage = mkPackageOption pkgs "discord" { }; discordPackage = mkPackageOptionMD pkgs "discord" { };
discordAlias = mkOption { discordAlias = mkOption {
type = types.bool; type = types.bool;

View File

@ -36,7 +36,7 @@ with lib;
''; '';
}; };
package = mkPackageOption pkgs "exa" { }; package = mkPackageOptionMD pkgs "exa" { };
}; };
config = let config = let

View File

@ -27,7 +27,7 @@ in {
options.programs.feh = { options.programs.feh = {
enable = mkEnableOption "feh - a fast and light image viewer"; enable = mkEnableOption "feh - a fast and light image viewer";
package = mkPackageOption pkgs "feh" { }; package = mkPackageOptionMD pkgs "feh" { };
buttons = mkOption { buttons = mkOption {
default = { }; default = { };

View File

@ -2,7 +2,8 @@
let let
inherit (lib) literalExpression mkEnableOption mkPackageOption mkOption mkIf; inherit (lib)
literalExpression mkEnableOption mkPackageOptionMD mkOption mkIf;
cfg = config.programs.fuzzel; cfg = config.programs.fuzzel;
@ -14,7 +15,7 @@ in {
options.programs.fuzzel = { options.programs.fuzzel = {
enable = mkEnableOption "fuzzel"; enable = mkEnableOption "fuzzel";
package = mkPackageOption pkgs "fuzzel" { }; package = mkPackageOptionMD pkgs "fuzzel" { };
settings = mkOption { settings = mkOption {
type = iniFormat.type; type = iniFormat.type;

View File

@ -13,7 +13,7 @@ in {
options.programs.git-cliff = { options.programs.git-cliff = {
enable = mkEnableOption "git-cliff changelog generator"; enable = mkEnableOption "git-cliff changelog generator";
package = mkPackageOption pkgs "git-cliff" { }; package = mkPackageOptionMD pkgs "git-cliff" { };
settings = mkOption { settings = mkOption {
type = tomlFormat.type; type = tomlFormat.type;

View File

@ -11,7 +11,7 @@ in {
programs.git-credential-oauth = { programs.git-credential-oauth = {
enable = lib.mkEnableOption "Git authentication handler for OAuth"; enable = lib.mkEnableOption "Git authentication handler for OAuth";
package = lib.mkPackageOption pkgs "git-credential-oauth" { }; package = lib.mkPackageOptionMD pkgs "git-credential-oauth" { };
}; };
}; };

View File

@ -310,7 +310,7 @@ in {
''; '';
}; };
package = mkPackageOption pkgs "delta" { }; package = mkPackageOptionMD pkgs "delta" { };
options = mkOption { options = mkOption {
type = with types; type = with types;

View File

@ -13,7 +13,7 @@ in {
options.programs.havoc = { options.programs.havoc = {
enable = mkEnableOption "Havoc terminal"; enable = mkEnableOption "Havoc terminal";
package = mkPackageOption pkgs "havoc" { }; package = mkPackageOptionMD pkgs "havoc" { };
settings = mkOption { settings = mkOption {
type = iniFormat.type; type = iniFormat.type;

View File

@ -119,7 +119,7 @@ in {
options = { options = {
programs.himalaya = { programs.himalaya = {
enable = lib.mkEnableOption "the Himalaya email client"; enable = lib.mkEnableOption "the Himalaya email client";
package = lib.mkPackageOption pkgs "himalaya" { }; package = lib.mkPackageOptionMD pkgs "himalaya" { };
settings = lib.mkOption { settings = lib.mkOption {
type = lib.types.submodule { freeformType = tomlFormat.type; }; type = lib.types.submodule { freeformType = tomlFormat.type; };
default = { }; default = { };

View File

@ -14,7 +14,7 @@ in {
Bash And Zsh shell history suggest box - easily view, navigate, search and Bash And Zsh shell history suggest box - easily view, navigate, search and
manage your command history''; manage your command history'';
package = mkPackageOption pkgs "hstr" { }; package = mkPackageOptionMD pkgs "hstr" { };
enableBashIntegration = mkEnableOption "Bash integration" // { enableBashIntegration = mkEnableOption "Bash integration" // {
default = true; default = true;

View File

@ -139,7 +139,7 @@ in {
''; '';
}; };
package = mkPackageOption pkgs "i3status" { }; package = mkPackageOptionMD pkgs "i3status" { };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@ -16,7 +16,7 @@ in {
enable = mkEnableOption enable = mkEnableOption
"imv: a command line image viewer intended for use with tiling window managers"; "imv: a command line image viewer intended for use with tiling window managers";
package = mkPackageOption pkgs "imv" { }; package = mkPackageOptionMD pkgs "imv" { };
settings = mkOption { settings = mkOption {
default = { }; default = { };

View File

@ -14,7 +14,7 @@ in {
enable = enable =
mkEnableOption "a Git-compatible DVCS that is both simple and powerful"; mkEnableOption "a Git-compatible DVCS that is both simple and powerful";
package = mkPackageOption pkgs "jujutsu" { }; package = mkPackageOptionMD pkgs "jujutsu" { };
settings = mkOption { settings = mkOption {
type = tomlFormat.type; type = tomlFormat.type;

View File

@ -14,7 +14,7 @@ in {
enable = enable =
mkEnableOption "k9s - Kubernetes CLI To Manage Your Clusters In Style"; mkEnableOption "k9s - Kubernetes CLI To Manage Your Clusters In Style";
package = mkPackageOption pkgs "k9s" { }; package = mkPackageOptionMD pkgs "k9s" { };
settings = mkOption { settings = mkOption {
type = yamlFormat.type; type = yamlFormat.type;

View File

@ -622,7 +622,7 @@ in {
programs.kakoune = { programs.kakoune = {
enable = mkEnableOption "the kakoune text editor"; enable = mkEnableOption "the kakoune text editor";
package = mkPackageOption pkgs "kakoune-unwrapped" { }; package = mkPackageOptionMD pkgs "kakoune-unwrapped" { };
config = mkOption { config = mkOption {
type = types.nullOr configModule; type = types.nullOr configModule;

View File

@ -16,7 +16,7 @@ in {
options.programs.lazygit = { options.programs.lazygit = {
enable = mkEnableOption "lazygit, a simple terminal UI for git commands"; enable = mkEnableOption "lazygit, a simple terminal UI for git commands";
package = mkPackageOption pkgs "lazygit" { }; package = mkPackageOptionMD pkgs "lazygit" { };
settings = mkOption { settings = mkOption {
type = yamlFormat.type; type = yamlFormat.type;

View File

@ -21,7 +21,7 @@ in {
options.programs.ledger = { options.programs.ledger = {
enable = mkEnableOption "ledger, a double-entry accounting system"; enable = mkEnableOption "ledger, a double-entry accounting system";
package = mkPackageOption pkgs "ledger" { }; package = mkPackageOptionMD pkgs "ledger" { };
settings = mkOption { settings = mkOption {
type = with types; attrsOf (oneOf [ bool int str (listOf str) ]); type = with types; attrsOf (oneOf [ bool int str (listOf str) ]);

View File

@ -11,7 +11,7 @@ in {
options.programs.looking-glass-client = { options.programs.looking-glass-client = {
enable = mkEnableOption "looking-glass-client"; enable = mkEnableOption "looking-glass-client";
package = mkPackageOption pkgs "looking-glass-client" { }; package = mkPackageOptionMD pkgs "looking-glass-client" { };
settings = mkOption { settings = mkOption {
type = settingsFormat.type; type = settingsFormat.type;

View File

@ -17,7 +17,7 @@ in {
enable = mkEnableOption enable = mkEnableOption
"mr, a tool to manage all your version control repositories"; "mr, a tool to manage all your version control repositories";
package = mkPackageOption pkgs "mr" { }; package = mkPackageOptionMD pkgs "mr" { };
settings = mkOption { settings = mkOption {
type = iniFormat.type; type = iniFormat.type;

View File

@ -24,7 +24,7 @@ in {
options.programs.nheko = { options.programs.nheko = {
enable = mkEnableOption "Qt desktop client for Matrix"; enable = mkEnableOption "Qt desktop client for Matrix";
package = mkPackageOption pkgs "nheko" { }; package = mkPackageOptionMD pkgs "nheko" { };
settings = mkOption { settings = mkOption {
type = iniFmt.type; type = iniFmt.type;

View File

@ -90,7 +90,7 @@ in {
programs.offlineimap = { programs.offlineimap = {
enable = mkEnableOption "OfflineIMAP"; enable = mkEnableOption "OfflineIMAP";
package = mkPackageOption pkgs "offlineimap" { package = mkPackageOptionMD pkgs "offlineimap" {
example = '' example = ''
pkgs.offlineimap.overridePythonAttrs ( old: { pkgs.offlineimap.overridePythonAttrs ( old: {
propagatedBuildInputs = old.propagatedBuildInputs propagatedBuildInputs = old.propagatedBuildInputs

View File

@ -20,7 +20,7 @@ in {
options.programs.oh-my-posh = { options.programs.oh-my-posh = {
enable = mkEnableOption "oh-my-posh, a prompt theme engine for any shell"; enable = mkEnableOption "oh-my-posh, a prompt theme engine for any shell";
package = mkPackageOption pkgs "oh-my-posh" { }; package = mkPackageOptionMD pkgs "oh-my-posh" { };
settings = mkOption { settings = mkOption {
type = jsonFormat.type; type = jsonFormat.type;

View File

@ -19,7 +19,7 @@ in {
enable = enable =
mkEnableOption "pls, a modern replacement for <command>ls</command>"; mkEnableOption "pls, a modern replacement for <command>ls</command>";
package = mkPackageOption pkgs "pls" { }; package = mkPackageOptionMD pkgs "pls" { };
enableAliases = mkEnableOption "recommended pls aliases"; enableAliases = mkEnableOption "recommended pls aliases";
}; };

View File

@ -29,7 +29,7 @@ in {
options.programs.rbenv = { options.programs.rbenv = {
enable = mkEnableOption "rbenv"; enable = mkEnableOption "rbenv";
package = mkPackageOption pkgs "rbenv" { }; package = mkPackageOptionMD pkgs "rbenv" { };
plugins = mkOption { plugins = mkOption {
type = types.listOf pluginModule; type = types.listOf pluginModule;

View File

@ -12,7 +12,7 @@ in {
programs.ripgrep = { programs.ripgrep = {
enable = mkEnableOption "Ripgrep"; enable = mkEnableOption "Ripgrep";
package = mkPackageOption pkgs "ripgrep" { }; package = mkPackageOptionMD pkgs "ripgrep" { };
arguments = mkOption { arguments = mkOption {
type = with types; listOf str; type = with types; listOf str;

View File

@ -12,7 +12,7 @@ in {
programs.rtx = { programs.rtx = {
enable = mkEnableOption "RTX. Runtime Executor (asdf Rust clone)"; enable = mkEnableOption "RTX. Runtime Executor (asdf Rust clone)";
package = mkPackageOption pkgs "rtx" { }; package = mkPackageOptionMD pkgs "rtx" { };
enableBashIntegration = mkEnableOption "Bash Integration" // { enableBashIntegration = mkEnableOption "Bash Integration" // {
default = true; default = true;

View File

@ -361,7 +361,7 @@ in
options.programs.ssh = { options.programs.ssh = {
enable = mkEnableOption "SSH client configuration"; enable = mkEnableOption "SSH client configuration";
package = mkPackageOption pkgs "openssh" { package = mkPackageOptionMD pkgs "openssh" {
nullable = true; nullable = true;
default = null; default = null;
extraDescription = "By default, the client provided by your system is used."; extraDescription = "By default, the client provided by your system is used.";

View File

@ -19,7 +19,7 @@ in {
description = "Whether to enable swaylock."; description = "Whether to enable swaylock.";
}; };
package = mkPackageOption pkgs "swaylock" { }; package = mkPackageOptionMD pkgs "swaylock" { };
settings = mkOption { settings = mkOption {
type = with types; attrsOf (oneOf [ bool float int str ]); type = with types; attrsOf (oneOf [ bool float int str ]);

View File

@ -85,7 +85,7 @@ in {
''; '';
}; };
package = mkPackageOption pkgs "taskwarrior" { }; package = mkPackageOptionMD pkgs "taskwarrior" { };
}; };
}; };

View File

@ -14,7 +14,7 @@ in {
options = { options = {
programs.vim-vint = { programs.vim-vint = {
enable = mkEnableOption "the Vint linter for Vimscript"; enable = mkEnableOption "the Vint linter for Vimscript";
package = mkPackageOption pkgs "vim-vint" { }; package = mkPackageOptionMD pkgs "vim-vint" { };
settings = mkOption { settings = mkOption {
type = yamlFormat.type; type = yamlFormat.type;

View File

@ -2,7 +2,7 @@
let let
inherit (lib) all filterAttrs isStorePath literalExpression types; inherit (lib) all filterAttrs isStorePath literalExpression types;
inherit (lib.options) mkEnableOption mkPackageOption mkOption; inherit (lib.options) mkEnableOption mkPackageOptionMD mkOption;
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.strings) concatMapStrings; inherit (lib.strings) concatMapStrings;
inherit (builtins) toJSON; inherit (builtins) toJSON;
@ -72,7 +72,7 @@ in {
options.programs.wlogout = with lib.types; { options.programs.wlogout = with lib.types; {
enable = mkEnableOption "wlogout"; enable = mkEnableOption "wlogout";
package = mkPackageOption pkgs "wlogout" { }; package = mkPackageOptionMD pkgs "wlogout" { };
layout = mkOption { layout = mkOption {
type = listOf wlogoutLayoutConfig; type = listOf wlogoutLayoutConfig;

View File

@ -17,7 +17,7 @@ in {
enable = mkEnableOption enable = mkEnableOption
"wofi: a launcher/menu program for wlroots based wayland compositors such as sway"; "wofi: a launcher/menu program for wlroots based wayland compositors such as sway";
package = mkPackageOption pkgs "wofi" { }; package = mkPackageOptionMD pkgs "wofi" { };
settings = mkOption { settings = mkOption {
default = { }; default = { };

View File

@ -142,7 +142,7 @@ let
options = { options = {
enable = mkEnableOption "oh-my-zsh"; enable = mkEnableOption "oh-my-zsh";
package = mkPackageOption pkgs "oh-my-zsh" { }; package = mkPackageOptionMD pkgs "oh-my-zsh" { };
plugins = mkOption { plugins = mkOption {
default = []; default = [];
@ -212,7 +212,7 @@ let
options = { options = {
enable = mkEnableOption "zsh syntax highlighting"; enable = mkEnableOption "zsh syntax highlighting";
package = mkPackageOption pkgs "zsh-syntax-highlighting" { }; package = mkPackageOptionMD pkgs "zsh-syntax-highlighting" { };
styles = mkOption { styles = mkOption {
type = types.attrsOf types.str; type = types.attrsOf types.str;
@ -236,7 +236,7 @@ in
programs.zsh = { programs.zsh = {
enable = mkEnableOption "Z shell (Zsh)"; enable = mkEnableOption "Z shell (Zsh)";
package = mkPackageOption pkgs "zsh" { }; package = mkPackageOptionMD pkgs "zsh" { };
autocd = mkOption { autocd = mkOption {
default = null; default = null;

View File

@ -11,7 +11,7 @@ in {
services.batsignal = { services.batsignal = {
enable = lib.mkEnableOption "Batsignal Battery Daemon"; enable = lib.mkEnableOption "Batsignal Battery Daemon";
package = lib.mkPackageOption pkgs "batsignal" { }; package = lib.mkPackageOptionMD pkgs "batsignal" { };
extraArgs = lib.mkOption { extraArgs = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;

View File

@ -34,7 +34,7 @@ in {
description = "Cachix URI to use."; description = "Cachix URI to use.";
}; };
package = mkPackageOption pkgs "cachix" { }; package = mkPackageOptionMD pkgs "cachix" { };
credentialsFile = mkOption { credentialsFile = mkOption {
type = types.path; type = types.path;

View File

@ -7,7 +7,7 @@ in {
options.services.clipman = { options.services.clipman = {
enable = mkEnableOption "clipman, a simple clipboard manager for Wayland"; enable = mkEnableOption "clipman, a simple clipboard manager for Wayland";
package = mkPackageOption pkgs "clipman" { }; package = mkPackageOptionMD pkgs "clipman" { };
systemdTarget = mkOption { systemdTarget = mkOption {
type = types.str; type = types.str;

View File

@ -17,7 +17,7 @@ in {
options.services.comodoro = { options.services.comodoro = {
enable = lib.mkEnableOption "Comodoro server"; enable = lib.mkEnableOption "Comodoro server";
package = lib.mkPackageOption pkgs "comodoro" { }; package = lib.mkPackageOptionMD pkgs "comodoro" { };
environment = lib.mkOption { environment = lib.mkOption {
type = with lib.types; attrsOf str; type = with lib.types; attrsOf str;

View File

@ -11,7 +11,7 @@ in {
enable = enable =
lib.mkEnableOption "CopyQ, a clipboard manager with advanced features"; lib.mkEnableOption "CopyQ, a clipboard manager with advanced features";
package = lib.mkPackageOption pkgs "copyq" { }; package = lib.mkPackageOptionMD pkgs "copyq" { };
systemdTarget = lib.mkOption { systemdTarget = lib.mkOption {
type = lib.types.str; type = lib.types.str;

View File

@ -2,7 +2,7 @@
let let
inherit (lib.options) mkEnableOption mkPackageOption mkOption; inherit (lib.options) mkEnableOption mkPackageOptionMD mkOption;
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
cfg = config.services.listenbrainz-mpd; cfg = config.services.listenbrainz-mpd;
@ -15,7 +15,7 @@ in {
options.services.listenbrainz-mpd = { options.services.listenbrainz-mpd = {
enable = mkEnableOption "listenbrainz-mpd"; enable = mkEnableOption "listenbrainz-mpd";
package = mkPackageOption pkgs "listenbrainz-mpd" { }; package = mkPackageOptionMD pkgs "listenbrainz-mpd" { };
settings = mkOption { settings = mkOption {
type = tomlFormat.type; type = tomlFormat.type;

View File

@ -13,7 +13,7 @@ in {
services.megasync = { services.megasync = {
enable = mkEnableOption "Megasync client"; enable = mkEnableOption "Megasync client";
package = mkPackageOption pkgs "megasync" { }; package = mkPackageOptionMD pkgs "megasync" { };
}; };
}; };

View File

@ -27,7 +27,7 @@ in {
enable = lib.mkEnableOption enable = lib.mkEnableOption
"mpd-mpris: An implementation of the MPRIS protocol for MPD"; "mpd-mpris: An implementation of the MPRIS protocol for MPD";
package = lib.mkPackageOption pkgs "mpd-mpris" { }; package = lib.mkPackageOptionMD pkgs "mpd-mpris" { };
mpd = { mpd = {
useLocal = lib.mkOption { useLocal = lib.mkOption {

View File

@ -11,7 +11,7 @@ in {
services.owncloud-client = { services.owncloud-client = {
enable = mkEnableOption "Owncloud Client"; enable = mkEnableOption "Owncloud Client";
package = mkPackageOption pkgs "owncloud-client" { }; package = mkPackageOptionMD pkgs "owncloud-client" { };
}; };
}; };

View File

@ -12,7 +12,7 @@ in {
options.services.pass-secret-service = { options.services.pass-secret-service = {
enable = mkEnableOption "Pass libsecret service"; enable = mkEnableOption "Pass libsecret service";
package = mkPackageOption pkgs "pass-secret-service" { }; package = mkPackageOptionMD pkgs "pass-secret-service" { };
storePath = mkOption { storePath = mkOption {
type = with types; nullOr str; type = with types; nullOr str;

View File

@ -14,7 +14,7 @@ in {
options.services.pueue = { options.services.pueue = {
enable = mkEnableOption "Pueue, CLI process scheduler and manager"; enable = mkEnableOption "Pueue, CLI process scheduler and manager";
package = mkPackageOption pkgs "pueue" { }; package = mkPackageOptionMD pkgs "pueue" { };
settings = mkOption { settings = mkOption {
type = yamlFormat.type; type = yamlFormat.type;

View File

@ -13,7 +13,7 @@ in {
services.safeeyes = { services.safeeyes = {
enable = mkEnableOption "The Safe Eyes OSGI service"; enable = mkEnableOption "The Safe Eyes OSGI service";
package = mkPackageOption pkgs "safeeyes" { }; package = mkPackageOptionMD pkgs "safeeyes" { };
}; };
}; };

View File

@ -13,7 +13,7 @@ in {
xsession.windowManager.fluxbox = { xsession.windowManager.fluxbox = {
enable = mkEnableOption "Fluxbox window manager"; enable = mkEnableOption "Fluxbox window manager";
package = mkPackageOption pkgs "fluxbox" { }; package = mkPackageOptionMD pkgs "fluxbox" { };
init = mkOption { init = mkOption {
type = types.lines; type = types.lines;

View File

@ -208,7 +208,7 @@ in {
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = mkEnableOption "i3 window manager"; enable = mkEnableOption "i3 window manager";
package = mkPackageOption pkgs "i3" { }; package = mkPackageOptionMD pkgs "i3" { };
config = mkOption { config = mkOption {
type = types.nullOr configModule; type = types.nullOr configModule;