Added btop module

This commit is contained in:
Alejandro Angulo 2023-06-10 18:07:00 -07:00
parent c1e24c6e15
commit 5f43068efb
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.aa.apps.btop;
in {
options.aa.apps.btop = with types; {
enable = mkEnableOption "btop";
};
config = mkIf cfg.enable {
aa.home.extraOptions.programs.btop = {
enable = true;
settings = {
theme_background = false;
vim_keys = true;
color_theme = "gruvbox_dark_v2";
};
};
};
}

View file

@ -21,5 +21,7 @@ in {
]; ];
powerManagement.powertop.enable = true; powerManagement.powertop.enable = true;
aa.apps.btop.enable = true;
}; };
} }

View file

@ -24,6 +24,7 @@
hardware.tlp.enable = true; hardware.tlp.enable = true;
system.zfs.enable = true; system.zfs.enable = true;
apps.btop.enable = true;
apps.yubikey.enable = true; apps.yubikey.enable = true;
}; };