feat(nix/prog): add xh, fd, z, bat
This commit is contained in:
parent
7efb6e59b5
commit
ef504fb5aa
1 changed files with 15 additions and 0 deletions
15
nix/home.nix
15
nix/home.nix
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue