From cfbc17730ada41225003e98b85e4778d2ff21efd Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 27 Jun 2024 00:44:00 -0300 Subject: [PATCH] neovim: use a more clean file linking for config --- programs/neovim/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/programs/neovim/default.nix b/programs/neovim/default.nix index 7078b35..d180e6d 100644 --- a/programs/neovim/default.nix +++ b/programs/neovim/default.nix @@ -55,10 +55,8 @@ ]; }; - xdg.configFile = lib.mkMerge [ - { "nvim/lua/community.lua".source = ./lua/community.lua; } - { "nvim/lua/lazy_setup.lua".source = ./lua/lazy_setup.lua; } - { "nvim/lua/plugins".source = ./lua/plugins; } - { "nvim/lua/polish.lua".source = ./lua/polish.lua; } - ]; + xdg.configFile."nvim/lua" = { + recursive = true; + source = ./lua; + }; }