diff --git a/flake/modules/home-manager.nix b/flake/modules/home-manager.nix index 791476e..0a6cd9d 100644 --- a/flake/modules/home-manager.nix +++ b/flake/modules/home-manager.nix @@ -22,6 +22,16 @@ in { options.programs.neovim-flake = { enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper"; + + builtPackage = mkOption { + type = anything; + default = builtPackage; + internal = true; + description = '' + The built neovim-flake package, wrapped with the user's configuration. + ''; + }; + settings = mkOption { type = attrsOf anything; default = {}; diff --git a/flake/modules/nixos.nix b/flake/modules/nixos.nix index 5dee2c0..968c7d4 100644 --- a/flake/modules/nixos.nix +++ b/flake/modules/nixos.nix @@ -22,6 +22,16 @@ in { options.programs.neovim-flake = { enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper"; + + builtPackage = mkOption { + type = anything; + default = builtPackage; + internal = true; + description = '' + The built neovim-flake package, wrapped with the user's configuration. + ''; + }; + settings = mkOption { type = attrsOf anything; default = {};