Replies: 4 comments 3 replies
-
|
You are using |
Beta Was this translation helpful? Give feedback.
-
|
Is that the entirety of your home.nix? Or just a snippet? |
Beta Was this translation helpful? Give feedback.
-
It's entirely possible, see https://nix-community.github.io/nixvim/NeovimOptions/extraFiles/index.html#extrafilesnamesource |
Beta Was this translation helpful? Give feedback.
-
|
Do note that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to configure my
alpha.nvimplugin in Nixvim, and I thought it might be a little more straightforward to use themkRawhelper for using my existing Lua configuration foralpha.nvimfor the layout. However when I try usingmkRawto set the value forplugins.alpha.layoutI am getting an error statingmodule [file path to home.nix in nix store] (:anon-4:anon-1) does not look like a module..Am I using the
mkRawhelper incorrectly? I am relatively new to Nix, and almost brand new to Nixvim, so I assume it is some kind of user error rather than a bug or anything. If it is not possible to usemkRawwithnixvim.plugins.alpha.layoutto import myalpha.nvimconfiguration, would it be possible to use a method similar toxdgConfigorhome.fileto allow an external Lua file to handle configuration ofalpha.nvmentirely?Below is the code for both my Nixvim configuration in my
home.nixfile, and the original Lua file used to configurealpha.nvimwithLazy.nvimin my normal Neovim setup:Beta Was this translation helpful? Give feedback.
All reactions