dotfiles/hosts/_common/homepkgs.nix
2023-01-02 10:54:36 -05:00

74 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
home.stateVersion = "22.05";
home.sessionVariables = {
PAGER = "less -R";
EDITOR = "nvim";
};
home.packages = with pkgs; [
bat
ctags
exa
fzf
ripgrep
wget
];
programs.tmux = {
enable = true;
};
home.file = {
".tmux.conf" = {
source = ../../home/tmux.conf;
recursive = 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;
};
programs.fish = {
enable = true;
};
programs.htop = {
enable = true;
};
#xdg.configFile = {
# "htop" = {
# source = ../../home/config/htop;
# recursive = true;
# };
#};
# XDG CONFIGS
xdg.configFile = {
"nvim" = {
source = ../../home/config/nvim;
recursive = true;
};
"fish" = {
source = ../../home/config/fish;
recursive = true;
};
};
}