mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 09:35:37 +00:00
23 lines
413 B
Nix
23 lines
413 B
Nix
{ pkgs, user, ... }: {
|
|
|
|
home-manager.users.${user} = {
|
|
|
|
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";
|
|
home.sessionVariables = { EDITOR = "nvim"; };
|
|
|
|
};
|
|
|
|
# Used for icons in Vim
|
|
fonts.fonts = with pkgs; [ nerdfonts ];
|
|
|
|
}
|