aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/system-monitor/htop
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tools/system-monitor/htop')
-rw-r--r--modules/tools/system-monitor/htop/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/tools/system-monitor/htop/default.nix b/modules/tools/system-monitor/htop/default.nix
new file mode 100644
index 0000000..f27174a
--- /dev/null
+++ b/modules/tools/system-monitor/htop/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, lib, config, ... }:
+
+{
+ options = {
+ htop.enable = lib.mkEnableOption "Enables htop.";
+ };
+
+ config = lib.mkIf config.htop.enable {
+ programs.htop.enable = true;
+ programs.htop.package = pkgs.htop-vim;
+ };
+}