diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 02:22:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:32 +0530 |
| commit | 673e7b8245a67d5627ff41ab1c113c90b4c8c553 (patch) | |
| tree | 6b5679bb5ee56fa5a5b5eb5dc9e522503815ce9d /modules/system/btop | |
| parent | 1cc7caf459c25f8dea24e40e68b89aaf4862eef4 (diff) | |
| download | home-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.nix | 23 |
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; + }; + }; +} |
