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