dotfiles/modules/home/apps/btop/default.nix

26 lines
411 B
Nix
Raw Permalink Normal View History

2023-06-11 01:07:00 +00:00
{
config,
lib,
namespace,
2023-06-11 01:07:00 +00:00
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.apps.btop;
2023-06-11 01:07:00 +00:00
in {
options.${namespace}.apps.btop = {
2023-06-11 01:07:00 +00:00
enable = mkEnableOption "btop";
};
config = mkIf cfg.enable {
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;
};
};
};
}