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

17 lines
305 B
Nix

let
config = ''
s back-line
t forw-line
'';
in
{
programs.less = {
enable = true;
inherit config;
};
nmt.script = ''
assertFileExists home-files/.config/lesskey
assertFileContent home-files/.config/lesskey ${builtins.toFile "less.expected" config}
'';
}