aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system/htop
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
commit23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch)
tree3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/system/htop
parent01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff)
downloadhome-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz
home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip
feat: renamed the options to reflect their changed directory stucture
Renamed the options for the configurations based on the sub-module that they belong to
Diffstat (limited to 'modules/system/htop')
-rw-r--r--modules/system/htop/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/system/htop/default.nix b/modules/system/htop/default.nix
index 7781464..cf36f41 100644
--- a/modules/system/htop/default.nix
+++ b/modules/system/htop/default.nix
@@ -7,8 +7,13 @@
# Htop - Interactive process viewer (using htop-vim version)
{
- config = lib.mkIf config.programs.htop.enable {
+ options.system.htop = {
+ enable = lib.mkEnableOption "Enables htop.";
+ };
+
+ config = lib.mkIf config.system.htop.enable {
programs.htop = {
+ enable = true;
package = pkgs.htop-vim;
};
};