From 54bb89c66f33f07ea61cef92e82b005163f8f34e Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Mon, 3 Jun 2024 17:33:16 +0000 Subject: [PATCH] less: set default lessopen preprocessor to null --- nixos/modules/programs/less.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/less.nix b/nixos/modules/programs/less.nix index 50ea1586f688..75c6316b4a90 100644 --- a/nixos/modules/programs/less.nix +++ b/nixos/modules/programs/less.nix @@ -92,8 +92,8 @@ in lessopen = lib.mkOption { type = lib.types.nullOr lib.types.str; - default = "|${pkgs.lesspipe}/bin/lesspipe.sh %s"; - defaultText = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"''; + default = null; + example = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"''; description = '' Before less opens a file, it first gives your input preprocessor a chance to modify the way the contents of the file are displayed. '';