2023-06-11 01:07:00 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
2024-07-29 05:33:20 +00:00
|
|
|
namespace,
|
2023-06-11 01:07:00 +00:00
|
|
|
...
|
2024-07-29 05:33:20 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
|
|
|
|
cfg = config.${namespace}.apps.btop;
|
2023-06-11 01:07:00 +00:00
|
|
|
in {
|
2024-07-29 05:33:20 +00:00
|
|
|
options.${namespace}.apps.btop = {
|
2023-06-11 01:07:00 +00:00
|
|
|
enable = mkEnableOption "btop";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2024-07-29 05:33:20 +00:00
|
|
|
programs.btop = {
|
2023-06-11 01:07:00 +00:00
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
theme_background = false;
|
|
|
|
vim_keys = true;
|
|
|
|
color_theme = "gruvbox_dark_v2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|