aboutsummaryrefslogtreecommitdiffstats
path: root/modules/terminal/less
diff options
context:
space:
mode:
Diffstat (limited to 'modules/terminal/less')
-rw-r--r--modules/terminal/less/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/terminal/less/default.nix b/modules/terminal/less/default.nix
index b2d2ac6..f68875c 100644
--- a/modules/terminal/less/default.nix
+++ b/modules/terminal/less/default.nix
@@ -3,6 +3,12 @@
{
options.terminal.less = {
enable = lib.mkEnableOption "Enables less.";
+ package = lib.mkOption {
+ type = lib.types.package;
+ readOnly = true;
+ default = config.programs.less.package;
+ description = "The less package to use.";
+ };
};
config = lib.mkIf config.terminal.less.enable {