aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system/btop
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 02:22:48 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:32 +0530
commit673e7b8245a67d5627ff41ab1c113c90b4c8c553 (patch)
tree6b5679bb5ee56fa5a5b5eb5dc9e522503815ce9d /modules/system/btop
parent1cc7caf459c25f8dea24e40e68b89aaf4862eef4 (diff)
downloadhome-manager-config-673e7b8245a67d5627ff41ab1c113c90b4c8c553.tar.gz
home-manager-config-673e7b8245a67d5627ff41ab1c113c90b4c8c553.zip
system: removed system-monitor, removed bottom, added btop
Diffstat (limited to 'modules/system/btop')
-rw-r--r--modules/system/btop/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/system/btop/default.nix b/modules/system/btop/default.nix
new file mode 100644
index 0000000..1834aa2
--- /dev/null
+++ b/modules/system/btop/default.nix
@@ -0,0 +1,23 @@
+# Cross-platform graphical process and system monitor
+{
+ config,
+ lib,
+ ...
+}:
+{
+ options.system.btop = {
+ enable = lib.mkEnableOption "Enables btop.";
+ package = lib.mkOption {
+ type = lib.types.package;
+ readOnly = true;
+ default = config.programs.btop.package;
+ description = "The btop package to use.";
+ };
+ };
+
+ config = lib.mkIf config.system.btop.enable {
+ programs.btop = {
+ enable = true;
+ };
+ };
+}