From 5a05a1b677ab9c825867cbc8733bc897c6524fd1 Mon Sep 17 00:00:00 2001 From: dichgrem Date: Fri, 25 Jul 2025 20:45:23 +0800 Subject: [PATCH] feat:add_powerprofiles --- dotfiles/.config/btop/btop.conf | 4 ++-- modules/services/misc.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/btop/btop.conf b/dotfiles/.config/btop/btop.conf index 3b4551c..06be684 100644 --- a/dotfiles/.config/btop/btop.conf +++ b/dotfiles/.config/btop/btop.conf @@ -57,13 +57,13 @@ update_ms = 2000 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" +proc_sorting = "memory" #* Reverse sorting order, True or False. proc_reversed = False #* Show processes as a tree. -proc_tree = False +proc_tree = True #* Use the cpu graph colors in the process list. proc_colors = True diff --git a/modules/services/misc.nix b/modules/services/misc.nix index 541f0a7..a676634 100644 --- a/modules/services/misc.nix +++ b/modules/services/misc.nix @@ -7,6 +7,7 @@ # interval = "weekly"; # }; gvfs.enable = true; + power-profiles-daemon.enable = true; scx = { enable = true; scheduler = "scx_lavd";