27 lines
616 B
Nix
27 lines
616 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs.broot = {
|
|
enable = true;
|
|
settings.modal = true;
|
|
};
|
|
|
|
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 = []
|
|
|
|
[skin]
|
|
|
|
[special_paths]
|
|
"/media" = "no-enter"
|
|
''
|
|
}
|
|
'';
|
|
}
|