summaryrefslogtreecommitdiff
path: root/home-modules/apps
diff options
context:
space:
mode:
Diffstat (limited to 'home-modules/apps')
-rw-r--r--home-modules/apps/nvim/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/home-modules/apps/nvim/default.nix b/home-modules/apps/nvim/default.nix
index ff541b8..fb1eb94 100644
--- a/home-modules/apps/nvim/default.nix
+++ b/home-modules/apps/nvim/default.nix
@@ -34,10 +34,13 @@ in
initLua = lib.mkMerge [
''
-- Load in the real config, if exists
- local ok, _ pcall (require, "entry")
- if not ok then
- vim.notify("lua/entry.lua not found, no config to load", vim.log.levels.DEBUG)
+ local ok, fn = pcall (require, "entry")
+ if ok then
+ fn({ nix = true, })
+ else
+ vim.notify("lua/entry.lua not found, no config to load", vim.log.levels.DEBUG)
end''
+
];
};