From ef504fb5aaf0b536c2832fb9516f85d46e934671 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 5 Apr 2022 17:18:23 +0300 Subject: [PATCH] feat(nix/prog): add xh, fd, z, bat --- nix/home.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nix/home.nix b/nix/home.nix index feb98ca..1849587 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -19,9 +19,16 @@ in # changes in each release. 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. programs.home-manager.enable = true; + # enable z shell programs.zsh = { enable = true; enableAutosuggestions = true; @@ -53,6 +60,7 @@ in ''; }; + # enable git VCS programs.git = { enable = true; userName = secrets.git.name; @@ -72,11 +80,18 @@ in }; }; + # replacement for 'ls' written in rust programs.exa = { enable = true; enableAliases = true; }; + # a fast cd command that learns your habbits + programs.zoxide = { + enable = true; + enableZshIntegration = true; + }; + xdg.configFile = { "alacritty/alacritty.yml".source = ../programs/alacritty/alacritty.yml; };