From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: 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 --- modules/system/htop/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/system/htop') 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; }; }; -- cgit v1.2.3