alejandro-angulo
0f2ac2be9d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
26 lines
414 B
Nix
26 lines
414 B
Nix
{
|
|
config,
|
|
lib,
|
|
namespace,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
cfg = config.${namespace}.apps.btop;
|
|
in {
|
|
options.${namespace}.apps.btop = {
|
|
enable = mkEnableOption "btop";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
catppuccin.btop.enable = true;
|
|
programs.btop = {
|
|
enable = true;
|
|
settings = {
|
|
theme_background = false;
|
|
vim_keys = true;
|
|
};
|
|
};
|
|
};
|
|
}
|