From 2a645b0defc806ab8d252a107fc9a61ced799198 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 22 Mar 2021 15:09:30 -0400 Subject: [PATCH] add "dirt" script to watch disk buffers --- modules/cli.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cli.nix b/modules/cli.nix index d48a5d1..10eb6f6 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -37,6 +37,8 @@ in rsync nixpkgs-fmt + (writeShellScriptBin "dirt" "while sleep 1; do grep '^Dirty:' /proc/meminfo ; done") + (writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/") (vim_configurable.customize {