Fix things
This commit is contained in:
@@ -82,12 +82,17 @@ in
|
|||||||
extraLuaConfig = ''
|
extraLuaConfig = ''
|
||||||
_G.is_work = ${if cfg.workMode then "true" else "false"}
|
_G.is_work = ${if cfg.workMode then "true" else "false"}
|
||||||
_G.is_mac = ${if pkgs.stdenv.isDarwin 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
|
# Symlink the nvim/lua directory to ~/.config/nvim/lua
|
||||||
# This allows for editing the config without a nix rebuild
|
# This allows for editing the lua modules without a nix rebuild
|
||||||
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/dot/nvim";
|
xdg.configFile."nvim/lua".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/dot/nvim/lua";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nodejs-slim
|
nodejs-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user