2022-10-12 01:41:32 +03:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
exaPackage = pkgs.exa.override { gitSupport = false; };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.exa = {
|
|
|
|
enable = true;
|
|
|
|
package = exaPackage;
|
|
|
|
};
|
2022-11-10 14:44:17 +03:00
|
|
|
programs.zsh.shellAliases =
|
|
|
|
let
|
|
|
|
defaultArgs = "--icons --classify --group-directories-first --all";
|
|
|
|
bin = "${exaPackage}/bin/exa ${defaultArgs}";
|
|
|
|
in
|
|
|
|
lib.mkIf config.programs.zsh.enable {
|
|
|
|
ls = "${bin} --oneline";
|
|
|
|
lt = "${bin} --tree --level=3";
|
|
|
|
ll = "${bin} --long --header";
|
|
|
|
};
|
2022-10-12 01:41:32 +03:00
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.zoxide = {
|
|
|
|
enable = true;
|
|
|
|
enableZshIntegration = config.programs.zsh.enable;
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# tools
|
|
|
|
xh # friendly and fast tool for sending HTTP requests
|
|
|
|
fd # a simple, fast and user-friendly alternative to find
|
|
|
|
bat # a cat clone with syntax highlighting and git integration
|
|
|
|
ripgrep # a fuzzy finder
|
|
|
|
vnetod # a tool to change env sections
|
2022-11-25 00:23:31 +03:00
|
|
|
d2 # text to diagram
|
2022-11-23 15:41:38 +03:00
|
|
|
gnumake
|
2022-11-28 13:55:26 +03:00
|
|
|
libnotify # tool to send notifications via cli
|
2022-10-12 01:41:32 +03:00
|
|
|
|
2022-11-10 00:04:33 +03:00
|
|
|
nixpkgs-fmt # nix formatter
|
|
|
|
nil # nix lsp server
|
2022-10-12 01:41:32 +03:00
|
|
|
|
|
|
|
docker-compose
|
|
|
|
];
|
|
|
|
}
|