aboutsummaryrefslogtreecommitdiff
path: root/htop.nix
diff options
context:
space:
mode:
authorTom Harley2020-12-30 10:52:09 +0000
committerTom Harley2020-12-30 10:52:41 +0000
commit68cf8766e2636a50b0a660368b18426e2c12d487 (patch)
treef7f73e3a93e36ca544b14e6fdb3bd31073262424 /htop.nix
downloadhome-manager-68cf8766e2636a50b0a660368b18426e2c12d487.tar.gz
home-manager-68cf8766e2636a50b0a660368b18426e2c12d487.zip

Initial commit

Diffstat (limited to 'htop.nix')
-rw-r--r--htop.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/htop.nix b/htop.nix
new file mode 100644
index 0000000..f28ee96
--- /dev/null
+++ b/htop.nix
@@ -0,0 +1,17 @@
+{ config, lib, pkgs, ... }:
+
+{
+ programs.htop = {
+ enable = false;
+
+ delay = 10;
+ fields = [ "PID" "PERCENT_CPU" "TIME" "M_RESIDENT" "PERCENT_MEM" "COMM" ];
+
+ hideThreads = false;
+ hideUserlandThreads = false;
+ hideKernelThreads = false;
+
+ highlightBaseName = true;
+ treeView = true;
+ };
+}