2022-05-06 03:01:56 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2022-04-28 23:11:33 +00:00
|
|
|
|
2022-05-06 03:01:56 +00:00
|
|
|
home-manager.users.${config.user} = {
|
2022-04-28 23:11:33 +00:00
|
|
|
|
2022-04-29 01:40:21 +00:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
neovim
|
|
|
|
gcc # for tree-sitter
|
|
|
|
];
|
2022-04-28 23:11:33 +00:00
|
|
|
|
2022-04-29 01:40:21 +00:00
|
|
|
xdg.configFile = {
|
|
|
|
"nvim/init.lua".source = ../../nvim.configlink/init.lua;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.git.extraConfig.core.editor = "nvim";
|
|
|
|
home.sessionVariables = { EDITOR = "nvim"; };
|
2022-04-30 14:21:43 +00:00
|
|
|
programs.fish = {
|
|
|
|
shellAliases = { vim = "nvim"; };
|
|
|
|
shellAbbrs = {
|
|
|
|
vll = "vim -c 'Telescope oldfiles'";
|
|
|
|
vimrc = "vim ${builtins.toString ../../.}/nvim.configlink/init.lua";
|
|
|
|
};
|
|
|
|
};
|
2022-04-29 01:40:21 +00:00
|
|
|
|
|
|
|
};
|
2022-04-28 23:11:33 +00:00
|
|
|
|
2022-04-29 01:56:21 +00:00
|
|
|
# Used for icons in Vim
|
|
|
|
fonts.fonts = with pkgs; [ nerdfonts ];
|
|
|
|
|
2022-04-28 23:11:33 +00:00
|
|
|
}
|