From 6b8ee077953d5a7d15f7527cce196b43a6aa7576 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 21 Sep 2024 14:11:18 +0100 Subject: [PATCH] Move vimplugin --- config/home.nix | 7 +++++++ config/packages/neovim/default.nix | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) 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 - ]; - }; }