From 673e7b8245a67d5627ff41ab1c113c90b4c8c553 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 29 Aug 2026 02:22:48 +0530 Subject: system: removed system-monitor, removed bottom, added btop --- modules/system/btop/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/system/btop/default.nix (limited to 'modules/system/btop') 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; + }; + }; +} -- cgit v1.2.3