diff --git a/modules/output.nix b/modules/output.nix index cce4aa38..516607b6 100644 --- a/modules/output.nix +++ b/modules/output.nix @@ -22,6 +22,22 @@ let in { options = { + viAlias = mkOption { + type = types.bool; + default = false; + description = '' + Symlink vi to nvim binary. + ''; + }; + + vimAlias = mkOption { + type = types.bool; + default = false; + description = '' + Symlink vim to nvim binary. + ''; + }; + package = mkOption { type = types.package; default = pkgs.neovim-unwrapped; @@ -97,6 +113,7 @@ in normalizedPlugins = map (x: defaultPlugin // (if x ? plugin then x else { plugin = x; })) config.extraPlugins; neovimConfig = pkgs.neovimUtils.makeNeovimConfig ({ + inherit (config) viAlias vimAlias; # inherit customRC; plugins = normalizedPlugins; }