Where does the "LESS=-R" come from?

$ env | rg LESS
LESSKEYIN_SYSTEM=/nix/store/f0gxbw856r9cm5136x1fas27pal6nzgg-lessconfig
LESS=-R

~/nixos-config on  349b953! :watch: 12:35:27
$ cat $LESSKEYIN_SYSTEM
#command
#line-edit
#env
LESS= -R --quit-if-one-screen --jump-target=6

I can modify the content of the $LESSKEY_SYSTEM but do always find the “LESS=-R” env variable, despite i do not declare it anywhere in my config. Any insights appreciated. Thanks.

See programs.less.envVariables.

I did a systemwide explicit declaration of an environment variable to fix this situation as workaround.

LESS = " --quit-if-one-screen --jump-target=6 --RAW-CONTROL-CHARS";