feat(nix/prog): add xh, fd, z, bat

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-05 17:18:23 +03:00
parent 7efb6e59b5
commit ef504fb5aa

View file

@ -19,9 +19,16 @@ in
# changes in each release. # changes in each release.
home.stateVersion = "21.11"; home.stateVersion = "21.11";
home.packages = [
pkgs.xh # friendly and fast tool for sending HTTP requests
pkgs.fd # a simple, fast and user-friendly alternative to find
pkgs.bat # a cat clone with syntax highlighting and git integration
];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;
# enable z shell
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
@ -53,6 +60,7 @@ in
''; '';
}; };
# enable git VCS
programs.git = { programs.git = {
enable = true; enable = true;
userName = secrets.git.name; userName = secrets.git.name;
@ -72,11 +80,18 @@ in
}; };
}; };
# replacement for 'ls' written in rust
programs.exa = { programs.exa = {
enable = true; enable = true;
enableAliases = true; enableAliases = true;
}; };
# a fast cd command that learns your habbits
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
xdg.configFile = { xdg.configFile = {
"alacritty/alacritty.yml".source = ../programs/alacritty/alacritty.yml; "alacritty/alacritty.yml".source = ../programs/alacritty/alacritty.yml;
}; };