nvf/modules/wrapper/lib/options.nix
alfarel 8b5ef2cf08
wrapper/lib: init with mkMappingOption
mkMappingOption wants to read a setting set in config without passing it
every time, so it should be defined in config.
2026-04-06 08:51:34 -04:00

11 lines
285 B
Nix

{lib, ...}: let
inherit (lib.options) mkOption;
inherit (lib.types) attrsOf raw;
in {
options.vim.lib = mkOption {
# The second type should be one without merge semantics and which allows function values.
type = attrsOf raw;
default = {};
internal = true;
};
}