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