diff --git a/config/home.nix b/config/home.nix index 9672dcd..680397e 100644 --- a/config/home.nix +++ b/config/home.nix @@ -29,6 +29,13 @@ in { gnome-keyring.enable = true; }; + programs.neovim = { + enable = true; + plugins = with pkgs.vimPlugins; [ + packer-nvim + ]; + }; + home = { username = "${username}"; homeDirectory = "/home/${username}"; diff --git a/config/packages/neovim/default.nix b/config/packages/neovim/default.nix index a69ed38..dc0b484 100644 --- a/config/packages/neovim/default.nix +++ b/config/packages/neovim/default.nix @@ -1,11 +1,4 @@ { home.file."/home/vylpes/.config/nvim/init.lua".source = ./init.lua; home.file."/home/vylpes/.config/nvim/coc-settings.json".source = ./coc-settings.json; - - programs.neovim = { - enable = true; - plugins = with pkgs.vimPlugins; [ - packer-nvim - ]; - }; }