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/terminal/less/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/terminal/less/default.nix') diff --git a/modules/terminal/less/default.nix b/modules/terminal/less/default.nix index 516377d..8785498 100644 --- a/modules/terminal/less/default.nix +++ b/modules/terminal/less/default.nix @@ -2,8 +2,13 @@ # less - terminal pager { - config = lib.mkIf config.programs.less.enable { + options.terminal.less = { + enable = lib.mkEnableOption "Enables less."; + }; + + config = lib.mkIf config.terminal.less.enable { programs.less = { + enable = true; options = [ "--RAW-CONTROL-CHARS" "--quit-if-one-screen" -- cgit v1.2.3