2022-12-28 19:49:19 +00:00
|
|
|
{ ... }:
|
2021-08-31 16:52:20 +00:00
|
|
|
|
|
|
|
{
|
2022-12-28 19:49:19 +00:00
|
|
|
programs.broot = {
|
|
|
|
enable = true;
|
|
|
|
settings.modal = true;
|
|
|
|
};
|
2021-08-31 16:52:20 +00:00
|
|
|
|
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 = []
|
2021-08-31 16:52:20 +00:00
|
|
|
|
2022-12-28 19:49:19 +00:00
|
|
|
[skin]
|
2022-12-28 19:34:43 +00:00
|
|
|
|
2022-12-28 19:49:19 +00:00
|
|
|
[special_paths]
|
|
|
|
"/media" = "no-enter"
|
|
|
|
''
|
|
|
|
}
|
|
|
|
'';
|
2021-08-31 16:52:20 +00:00
|
|
|
}
|