all repos — nixfiles @ 83cecc19118a232825bea1d54d81dc6c1400552e

System and user configuration, managed by nix and home-manager

modules/programs/shell.nix (view raw)

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
{ 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
    entr
    exa
    file
    htop
    lsof
    iftop
    nmap
    moreutils
    mtr
    tree
    zip
    unzip
    telnet
  ] ++ (
  if !stdenv.isDarwin
  then [
    vim
    unar
  ] else [
  ]);
}