diff --git a/modules/apps/btop/default.nix b/modules/apps/btop/default.nix new file mode 100644 index 0000000..c72298f --- /dev/null +++ b/modules/apps/btop/default.nix @@ -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"; + }; + }; + }; +} diff --git a/modules/system/monitoring/default.nix b/modules/system/monitoring/default.nix index 132bed0..2fc91f9 100644 --- a/modules/system/monitoring/default.nix +++ b/modules/system/monitoring/default.nix @@ -21,5 +21,7 @@ in { ]; powerManagement.powertop.enable = true; + + aa.apps.btop.enable = true; }; } diff --git a/systems/x86_64-linux/carbon/default.nix b/systems/x86_64-linux/carbon/default.nix index f77b52c..159490b 100644 --- a/systems/x86_64-linux/carbon/default.nix +++ b/systems/x86_64-linux/carbon/default.nix @@ -24,6 +24,7 @@ hardware.tlp.enable = true; system.zfs.enable = true; + apps.btop.enable = true; apps.yubikey.enable = true; };