Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / cli-linux.nix
blob: 12892095bfa8b09205477767d22dee79843bd169 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{ 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

    #== CD/DVD/BluRay ==#
    cdrtools  # isodump, isoinfo, readcd, ...
    libisoburn  # disc filesystem editor

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

    #== Package manager ==#
    rpm dpkg

    #== File systems ==#
    parted  # partition editor
    dosfstools  # dosfsck, mkfs.fat, mkfs.dos, ...
    mtpfs  # media transfering file system management
    ntfs3g  # NTFS driver
    squashfsTools  # create and unpack squashfs; used in LiveCDs, AppImages, snaps, ...

    #== Media files ==#
    img2pdf
    imagemagick  # image editor
    exiftool  # EXIF metadata editor
    gd  # image creation library
    pngcrush  # png optimizer
    optipng  # png optimizer
    jpegoptim  # jpeg optimizer
    mediainfo  # tag info
    ffmpeg  # record, convert, stream audio and video
    kid3  # audio tag editor

    #== PDF files ==#
    pdftk  # pdf editor
    poppler-utils  # PDF rendering; pdftotext, ...

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

    #== Other files ==#
    inotify-tools  # inotifywait, inotifywatch, ...
    xmlstarlet  # edit and query xml
    pandoc  # document converter
    aspell  # spelling program
    nombrero
  ];

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