Fix things

This commit is contained in:
Martin Pander
2026-02-10 22:03:35 +01:00
parent 65cc61773f
commit 6250ccbf11

View File

@@ -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