Summary Files Commits Branches @commit @diff @stats
path: root / modules / server / cli-linux.nix
blob: 46c9c0416db9c1acd57635533479052f01d3b6ec (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{ pkgs, ... }: {
  environment.systemPackages = with pkgs; [
    bash
    git
    rlwrap  # readline processing in non-readline cli apps
    chrony  # set system time from the internet

    #== Editor/Player/File manager ==#
    nnn
    vim-full
    moc  # music on console

    #== Hardware ==#
    lshw
    efibootmgr
    screenfetch  # better neofetch
    lm_sensors  # provides sensors, sensors-detects, isadump, ...
    ddrescue  # data recovery tool
    usbutils  # lsusb, ...

    #== Processes ==#
    htop
    lsof  # lists open files, mostly under /proc
    iotop  # IO utilisation per process

    #== Network ==#
    dnsutils
    netcat
    curl
    ipfetch  # neofetch but for your IP
    vnstat  # network statistics
    inetutils  # ftp, hostname, ifconfig, ping, telnet, traceroute, rexec, rcp, ...
    wget  # download http/https/ftp files
    rsync  # file transfering

    #== HDD/SSD ==#
    udisks  # access and manipulate storage devices; udisksctl, ...

    #== File systems ==#
    parted  # partition editor
    dosfstools  # dosfsck, mkfs.fat, mkfs.dos, ...
    ntfs3g  # NTFS driver

    #== Archive files ==#
    gnutar
    p7zip
    zip unzip
    rar unrar
  ];

  programs = {
    mtr.enable = true;
    gnupg.agent = {
      enable = true;
      enableSSHSupport = true;
      pinentryPackage = pkgs.pinentry-tty;
    };
  };
}