mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
18 lines
384 B
Nix
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
|
|
''}
|
|
'';
|
|
}
|