mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
move neovim to module
This commit is contained in:
12
modules/editor/neovim.nix
Normal file
12
modules/editor/neovim.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
neovim
|
||||
gcc # for tree-sitter
|
||||
];
|
||||
|
||||
xdg.configFile = { "nvim/init.lua".source = ../../nvim.configlink/init.lua; };
|
||||
|
||||
programs.git.extraConfig.core.editor = "nvim";
|
||||
|
||||
}
|
Reference in New Issue
Block a user