From 40fa5b90e66b2e09882a0150766c111e83189307 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 4 Aug 2023 18:08:07 +0530 Subject: [PATCH] enable nixvim --- home/programs/default.nix | 3 ++- home/programs/neovim.nix | 12 ++++++------ home/programs/nixvim.nix | 5 +++++ 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 home/programs/nixvim.nix diff --git a/home/programs/default.nix b/home/programs/default.nix index 6638270..57f9c30 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -13,7 +13,8 @@ ./gnupg.nix ./kitty.nix ./mpv.nix - ./neovim.nix + #./neovim.nix + ./nixvim.nix ./starship.nix ./tmux.nix ./virt-manager.nix diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 80ae254..57f9982 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -1,11 +1,11 @@ {pkgs, ...}: { - xdg.desktopEntries = { - "nvim".name = "Neovim wrapper"; - "nvim".exec = "nvim %F"; - "nvim".noDisplay = true; - }; + #xdg.desktopEntries = { + # "nvim".name = "Neovim wrapper"; + # "nvim".exec = "nvim %F"; + # "nvim".noDisplay = true; + #}; programs.neovim = { - enable = true; + enable = false; viAlias = true; vimAlias = true; vimdiffAlias = true; diff --git a/home/programs/nixvim.nix b/home/programs/nixvim.nix new file mode 100644 index 0000000..642b866 --- /dev/null +++ b/home/programs/nixvim.nix @@ -0,0 +1,5 @@ +_:{ + programs.nixvim = { + enable = true; + }; +}