Skip to content

Commit

Permalink
nvim: avoid linking extra files
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Apr 7, 2024
1 parent 09b9aad commit e90e553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions home/common/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ in
EDITOR = "${pkgs.lib.getExe pkgs.neovim}";
VISUAL = "${pkgs.lib.getExe pkgs.neovim}";
};
xdg.configFile."nvim/lua/tomodachi94".source = ./lua/tomodachi94;
xdg.configFile."nvim/lua/keyring".source = ./lua/keyring;
xdg.configFile."nvim/snips".source = ./snips;
xdg.configFile."nvim/spell".source = ./spell;
xdg.configFile."nvim/vimscript".source = ./vimscript;
xdg.configFile."nvim/init.lua".source = ./init.lua;
xdg.configFile."nvim/lazy-lock.json".source = mkOutOfStoreSymlink "${dotfilesDir}/home/common/nvim/lazy-lock.json";

xdg.configFile."nvim/init.lua".text = ''
dofile("${./lua/tomodachi94}/init.lua")
'';
xdg.configFile."nvim/lua/generated_vars.lua".text = ''
local vars = {}
vars.python3 = "${pkgs.python310.interpreter}"
Expand Down
1 change: 0 additions & 1 deletion home/common/nvim/init.lua

This file was deleted.

0 comments on commit e90e553

Please sign in to comment.