dotfiles/hosts/_common/programs.nix
2023-01-02 13:04:19 -05:00

37 lines
729 B
Nix

{ pkgs, ... }:
{
programs.home-manager.enable = true;
programs.tmux = {
enable = true;
};
programs.zsh.prezto = {
enable = true;
};
programs.git = {
enable = true;
includes = [
{ path = "~/code/tyrel.dev/dotfiles/home/gitconfig"; }
];
aliases = {
ap = "add -p";
};
extraConfig = {
pull.ff = "only";
};
};
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [
# Inject tree-sitters, since they're annoying to maintain with sideloading
(nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
];
};
programs.htop = {
enable = true;
};
}