aboutsummaryrefslogtreecommitdiff
path: root/programs/htop.nix
blob: fca3487e84733d175dd8ee598ab2be78ce502d98 (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
{ config
, pkgs
, ...
}:

{
  programs.htop = {
    enable = true;
    settings = {
      color_scheme = 1; # monochrome
      show_program_path = 0;
      fields = with config.lib.htop.fields; [
        PID
        M_SIZE
        M_RESIDENT
        M_SHARE
        STATE
        PERCENT_CPU
        PERCENT_MEM
        TIME
        COMM
      ];

    };
  };
}