diff --git a/modules/flake-parts/setups/shared/nixvim-instance-options.nix b/modules/flake-parts/setups/shared/nixvim-instance-options.nix index a96266c3..4982f2a8 100644 --- a/modules/flake-parts/setups/shared/nixvim-instance-options.nix +++ b/modules/flake-parts/setups/shared/nixvim-instance-options.nix @@ -1,32 +1,22 @@ { lib, ... }: { - options.nixvim = lib.mkOption { - type = lib.types.submodule { - options = { - instance = lib.mkOption { - type = with lib.types; nullOr str; - default = null; - example = "fiesta"; - description = '' - The name of the NixVim configuration from - {option}`setups.nixvim.configs.` to be included as part - of the NixOS system. - ''; - }; - - additionalModules = lib.mkOption { - type = with lib.types; listOf raw; - default = [ ]; - description = '' - A list of additional NixVim modules to be included. - ''; - }; - }; + options.nixvim = { + instance = lib.mkOption { + type = with lib.types; nullOr str; + default = null; + example = "fiesta"; + description = '' + The name of the NixVim configuration from + {option}`setups.nixvim.configs.` to be included as part + of the NixOS system. + ''; + }; + + additionalModules = lib.mkOption { + type = with lib.types; listOf raw; + default = [ ]; + description = '' + A list of additional NixVim modules to be included. + ''; }; - default = { }; - description = '' - An optional NixVim inclusion for the environment. Take note, this - will override whatever Neovim configuration from your environment so - be sure to only use this if you have none. - ''; }; }