Switched to using lib.nvim.config.mkBool where appropriate

This commit is contained in:
isaacST08 2025-01-26 16:06:21 -07:00
commit ca9ab42048
3 changed files with 16 additions and 47 deletions

View file

@ -1,6 +1,5 @@
# TODO: I need testing.
{
config,
pkgs,
lib,
...
@ -13,16 +12,6 @@
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.types) bool package str;
cfg = config.vim.languages.tex;
# --- Enable Options ---
mkEnableDefaultOption = default: description: (mkOption {
type = bool;
default = default;
example = !default;
description = description;
});
in (
template {
inherit name moduleInheritencePackage;