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 = {