home-manager/tests/modules/programs/broot/broot.nix

27 lines
616 B
Nix
Raw Normal View History

2022-12-28 19:49:19 +00:00
{ ... }:
{
2022-12-28 19:49:19 +00:00
programs.broot = {
enable = true;
settings.modal = true;
};
2022-12-28 19:49:19 +00:00
nmt.script = ''
assertFileExists home-files/.config/broot/conf.toml
assertFileContent home-files/.config/broot/conf.toml ${
builtins.toFile "broot.expected" ''
content_search_max_file_size = "10MB"
imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}]
modal = true
show_selection_mark = true
verbs = []
2022-12-28 19:49:19 +00:00
[skin]
2022-12-28 19:49:19 +00:00
[special_paths]
"/media" = "no-enter"
''
}
'';
}