diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
| commit | 085ff668ab45ac8d57c093e502b1175a86f2c14e (patch) | |
| tree | 0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/tools/editor/neovim/default.nix | |
| parent | 70b590bf6b83dcb8f142451951a0f54ec3308283 (diff) | |
| download | home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip | |
Removed unnecessary packages.
Diffstat (limited to 'modules/tools/editor/neovim/default.nix')
| -rw-r--r-- | modules/tools/editor/neovim/default.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/tools/editor/neovim/default.nix b/modules/tools/editor/neovim/default.nix deleted file mode 100644 index 7d257ba..0000000 --- a/modules/tools/editor/neovim/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ pkgs, config, lib, ... }: - -{ - options.tools.editor.neovim = { - enable = lib.mkEnableOption "Enables neovim."; - profile = lib.mkOption { - type = lib.types.enum [ - "minimal" - "full" - ]; - default = "minimal"; - description = "The profile for neovim to use."; - }; - }; - - config = - let - plugins = import ./plugins { inherit config pkgs lib; }; - in lib.mkIf config.tools.editor.neovim.enable { - programs.neovim.enable = true; - programs.neovim.viAlias = true; - programs.neovim.vimAlias = true; - programs.neovim.vimdiffAlias = true; - programs.neovim.defaultEditor = true; - - home.packages = plugins.requirements; - - programs.neovim.extraLuaConfig = - '' -${import ./config} -${plugins.configuration} - ''; - - programs.neovim.plugins = plugins.list; - }; -} |
