Replies: 1 comment 3 replies
-
You should use Additionally, when you have a module that contains programs.nixvim = {
import = [
./keymaps.nix
./luasnip.nix
./lsp.nix
./dashboard.nix
./trouble.nix
];
config = {
enable = true;
};
} That should work, but if it doesn't you can force the module system to treat it as a "proper" module by using a module function: Module function
programs.nixvim =
{
# Optional args:
config,
options,
lib,
pkgs,
...
}:
{
import = [
./keymaps.nix
./luasnip.nix
./lsp.nix
./dashboard.nix
./trouble.nix
];
config = {
enable = true;
};
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how can i simply import additional configuration into programs.nixvim? i am getting
error: The option home-manager.users.username.programs.nixvim.import does not exist.
Beta Was this translation helpful? Give feedback.
All reactions