2021-08-31 16:52:20 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.broot = {
|
|
|
|
enable = true;
|
2022-09-26 18:36:06 +00:00
|
|
|
settings.modal = true;
|
2021-08-31 16:52:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/broot/conf.toml
|
|
|
|
assertFileContent home-files/.config/broot/conf.toml ${
|
|
|
|
pkgs.writeText "broot.expected" ''
|
2022-09-27 10:19:02 +00:00
|
|
|
imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}]
|
2021-08-31 16:52:20 +00:00
|
|
|
modal = true
|
2022-09-26 18:36:06 +00:00
|
|
|
show_selection_mark = true
|
2022-09-27 10:19:02 +00:00
|
|
|
verbs = []
|
2021-08-31 16:52:20 +00:00
|
|
|
|
|
|
|
[skin]
|
|
|
|
''
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|