21 lines
350 B
Nix
21 lines
350 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.marleyos.programs.btop;
|
|
in {
|
|
options.marleyos.programs.btop.enable = lib.mkEnableOption "btop";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.btop = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
theme_background = false;
|
|
truecolor = true;
|
|
vim_keys = true;
|
|
};
|
|
};
|
|
};
|
|
}
|