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.
-
I am trying to configure my
alpha.nvim
plugin in Nixvim, and I thought it might be a little more straightforward to use themkRaw
helper for using my existing Lua configuration foralpha.nvim
for the layout. However when I try usingmkRaw
to set the value forplugins.alpha.layout
I 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
mkRaw
helper 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 usemkRaw
withnixvim.plugins.alpha.layout
to import myalpha.nvim
configuration, would it be possible to use a method similar toxdgConfig
orhome.file
to allow an external Lua file to handle configuration ofalpha.nvm
entirely?Below is the code for both my Nixvim configuration in my
home.nix
file, and the original Lua file used to configurealpha.nvim
withLazy.nvim
in my normal Neovim setup:Beta Was this translation helpful? Give feedback.
All reactions