From 2d367c4005829fdc9d0f02e1c69b96ef8bca1cda Mon Sep 17 00:00:00 2001 From: Josef Date: Sat, 9 Nov 2024 17:01:34 +0100 Subject: [PATCH] fix neovim --- hosts/shared/programs/editor/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/hosts/shared/programs/editor/default.nix b/hosts/shared/programs/editor/default.nix index 6459fe93..680ce562 100644 --- a/hosts/shared/programs/editor/default.nix +++ b/hosts/shared/programs/editor/default.nix @@ -9,6 +9,16 @@ let }; in { + # Packages used in nvim but also outside of it + home.packages = with pkgs; [ + fzf + git + lazygit + neovim + nerdfonts + ripgrep + ]; + programs.neovim = { enable = lib.mkDefault true; defaultEditor = lib.mkDefault true; @@ -22,15 +32,6 @@ in ]; }; - # Packages used in nvim but also outside of it - home.packages = with pkgs; [ - fzf - git - lazygit - neovim - nerdfonts - ripgrep - ]; # Copy your Neovim configuration xdg.configFile = {