mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 05:12:56 +00:00
417623965e
also change theme to colorscheme
30 lines
643 B
Nix
30 lines
643 B
Nix
{ config, pkgs, ... }: {
|
|
|
|
home-manager.users.${config.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"; };
|
|
programs.fish = {
|
|
shellAliases = { vim = "nvim"; };
|
|
shellAbbrs = {
|
|
vll = "vim -c 'Telescope oldfiles'";
|
|
vimrc = "vim ${builtins.toString ../../.}/nvim.configlink/init.lua";
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
# Used for icons in Vim
|
|
fonts.fonts = with pkgs; [ nerdfonts ];
|
|
|
|
}
|