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;
|
2024-08-12 02:21:41 +00:00
|
|
|
catppuccin.enable = true;
|
2023-06-11 01:07:00 +00:00
|
|
|
settings = {
|
|
|
|
theme_background = false;
|
|
|
|
vim_keys = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|