2021-12-03 05:30:34 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.less = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
keys = ''
|
|
|
|
s back-line
|
|
|
|
t forw-line
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.less = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
2023-01-10 09:35:00 +00:00
|
|
|
assertFileExists home-files/.config/lesskey
|
|
|
|
assertFileContent home-files/.config/lesskey ${
|
2021-12-03 05:30:34 +00:00
|
|
|
builtins.toFile "less.expected" ''
|
|
|
|
s back-line
|
|
|
|
t forw-line
|
|
|
|
''
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
}
|