diff options
Diffstat (limited to 'modules/system/htop')
| -rw-r--r-- | modules/system/htop/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/htop/default.nix b/modules/system/htop/default.nix index a7b9e25..1de9032 100644 --- a/modules/system/htop/default.nix +++ b/modules/system/htop/default.nix @@ -8,6 +8,12 @@ { options.system.htop = { enable = lib.mkEnableOption "Enables htop."; + package = lib.mkOption { + type = lib.types.package; + readOnly = true; + default = config.programs.htop.package; + description = "The htop package to use."; + }; }; config = lib.mkIf config.system.htop.enable { |
