summaryrefslogtreecommitdiff
path: root/features/user/cli/apps/btop.nix
diff options
context:
space:
mode:
authoroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
committeroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
commit9786eb8672213344d8d1b7bdef12bc94510b20db (patch)
treeb7d79440800c92d32187ab32c636b0830c94a610 /features/user/cli/apps/btop.nix
initialized repository
Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626
Diffstat (limited to 'features/user/cli/apps/btop.nix')
-rw-r--r--features/user/cli/apps/btop.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/features/user/cli/apps/btop.nix b/features/user/cli/apps/btop.nix
new file mode 100644
index 0000000..5bb2499
--- /dev/null
+++ b/features/user/cli/apps/btop.nix
@@ -0,0 +1,15 @@
+{ config, lib, ... }: let
+ cfg = config.features.cli.apps.btop;
+in {
+ options.features.cli.apps.btop.enable = lib.mkEnableOption "btop";
+ config = lib.mkIf cfg.enable {
+ programs.btop = {
+ enable = true;
+ settings = {
+ color_theme = "TTY";
+ theme_background = false;
+ update_ms = 500;
+ };
+ };
+ };
+}