summary refs log tree commit diff stats
path: root/modules/programs/shell.nix
blob: cf36a115bfa2149c9a203d3ef1575a00dbe25143 (plain)
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
{ config, pkgs, ... }:

{ programs.zsh = {
    enable = true;
    promptInit = "";
  };
  programs.bash.enableCompletion = true;
  programs.vim = pkgs.lib.attrsets.optionalAttrs pkgs.stdenv.isDarwin {
    enable = true;
  };

  environment.systemPackages = with pkgs; [
    pv
    fd
    unstable.sd
    entr
    file
    htop
    lsof
    iftop
    nmap
    moreutils
    mtr
    tree
    zip
    telnet
  ] ++ (
  if !stdenv.isDarwin
  then [
    vim
    unar
  ] else [
  ]);
}