1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/tests/modules/programs/broot/broot.nix

27 lines
616 B
Nix
Raw Permalink Normal View History

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