aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/system-monitor/htop
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-25 00:17:41 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-25 00:17:41 +0530
commit165cde749fc899d4c86eb6de97d3b7c4373eb7b3 (patch)
treeec4d3cc00089b815dc0c56761348de4345705c43 /modules/tools/system-monitor/htop
parentc0c5087218c27e31c3e6f66f3937bff22fa0f647 (diff)
downloadhome-manager-config-165cde749fc899d4c86eb6de97d3b7c4373eb7b3.tar.gz
home-manager-config-165cde749fc899d4c86eb6de97d3b7c4373eb7b3.zip
Using more descriptive option names.
Diffstat (limited to 'modules/tools/system-monitor/htop')
-rw-r--r--modules/tools/system-monitor/htop/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tools/system-monitor/htop/default.nix b/modules/tools/system-monitor/htop/default.nix
index f27174a..c19ab60 100644
--- a/modules/tools/system-monitor/htop/default.nix
+++ b/modules/tools/system-monitor/htop/default.nix
@@ -1,11 +1,11 @@
{ pkgs, lib, config, ... }:
{
- options = {
- htop.enable = lib.mkEnableOption "Enables htop.";
+ options.tools.system-monitor.htop = {
+ enable = lib.mkEnableOption "Enables htop.";
};
- config = lib.mkIf config.htop.enable {
+ config = lib.mkIf config.tools.system-monitor.htop.enable {
programs.htop.enable = true;
programs.htop.package = pkgs.htop-vim;
};