1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/less/custom-options.nix
2025-08-11 10:01:10 -05:00

18 lines
384 B
Nix

{
programs.less = {
enable = true;
options = {
RAW-CONTROL-CHARS = true;
quiet = true;
wheel-lines = 3;
};
};
nmt.script = ''
assertFileExists home-files/.config/lesskey
assertFileContent home-files/.config/lesskey ${builtins.toFile "lesskey.expected" ''
#env
LESS = --RAW-CONTROL-CHARS --quiet --wheel-lines 3
''}
'';
}