Converted btop from nixosModule to homeModule
This commit is contained in:
parent
76bb3e5a76
commit
c0f10df484
5 changed files with 13 additions and 15 deletions
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue