From 6250ccbf116a892c62db9107e5f588ecfbd01708 Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Tue, 10 Feb 2026 22:03:35 +0100 Subject: [PATCH] Fix things --- nix/modules/home/nvim.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/nix/modules/home/nvim.nix b/nix/modules/home/nvim.nix index 05b0098..88be1e5 100644 --- a/nix/modules/home/nvim.nix +++ b/nix/modules/home/nvim.nix @@ -82,12 +82,17 @@ in extraLuaConfig = '' _G.is_work = ${if cfg.workMode then "true" else "false"} _G.is_mac = ${if pkgs.stdenv.isDarwin then "true" else "false"} + + require('base') + require('keymaps') + require('plugins') + require('filetype') ''; }; - # Symlink the nvim directory to ~/.config/nvim - # This allows for editing the config without a nix rebuild - xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/dot/nvim"; + # Symlink the nvim/lua directory to ~/.config/nvim/lua + # This allows for editing the lua modules without a nix rebuild + xdg.configFile."nvim/lua".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/dot/nvim/lua"; home.packages = with pkgs; [ nodejs-slim