mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 15:49:45 +01:00
2928097823
* broot: update test to match upstream changes Fixes #3527 (cherry picked from commit18b56e3f7d
) * broot: simplify test slightly (cherry picked from commitd7a3c26854
) * i3status-rust: fix tests Nix 2.12.0 slightly changed the JSON output format. This updates the i3status-rust test cases to match. (cherry picked from commit263f6e4523
)
26 lines
616 B
Nix
26 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"
|
|
''
|
|
}
|
|
'';
|
|
}
|