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

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

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