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; + }; }