aboutsummaryrefslogtreecommitdiff
path: root/home/programs/cli/core.nix
blob: cbfd1108c23d2190cd92852cae5732a0411598d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ config, pkgs, ... }:
{
  home.packages =
    with pkgs;
    [
      bandwhich
      bottom
      coreutils
      delve
      dive # explore layers in docker images
      docker
      docker-credential-helpers
      dust
      dysk
      jless
      nil # nix lsp
      nix-direnv # integration with direnv
      nixfmt-rfc-style # new formatter
      procs
      shellcheck
      tree
      wget
      wireshark
      yq
    ]
    ++ lib.optionals pkgs.stdenv.isLinux [
      pciutils
      powertop
      traceroute
    ];

  programs.ripgrep.enable = true;
  programs.jq.enable = true;

  programs.fish.shellAliases = {
    grep = "${pkgs.ripgrep}/bin/rg";
    ps = "${pkgs.procs}/bin/procs";
  };

  home.sessionPath = [
    "${config.home.homeDirectory}/.local/bin"
  ];
}