2021-11-11 11:32:48 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.less = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
keys = ''
|
|
|
|
s back-line
|
|
|
|
t forw-line
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.less = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
2021-12-06 21:48:59 +01:00
|
|
|
assertFileExists home-files/.config/lesskey
|
|
|
|
assertFileContent home-files/.config/lesskey ${
|
2021-11-11 11:32:48 +01:00
|
|
|
builtins.toFile "less.expected" ''
|
|
|
|
s back-line
|
|
|
|
t forw-line
|
|
|
|
''
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
}
|