commit 2264ba24cf78cfe770f1e1b5e41c9a61cfc3b6ac
parent ce6b629cbdef01d07515930641560a3277f11a3b
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 28 Jun 2023 19:24:01 +0200
parent ce6b629cbdef01d07515930641560a3277f11a3b
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 28 Jun 2023 19:24:01 +0200
configgurations/common/programs/htop: disable `show_cpu_frequency` on darwin
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configurations/common/programs/htop.nix b/configurations/common/programs/htop.nix @@ -1,6 +1,7 @@ -{ pkgs, lib, ... }: +{ pkgs, lib, currentSystem, ... }: { + home-manager.users.leah = { programs = { htop = { @@ -17,7 +18,7 @@ hide_userland_threads = 1; tree_view = 1; show_program_path = 0; - show_cpu_frequency = 1; + show_cpu_frequency = (if currentSystem == "aarch64-darwin" then 0 else 1); }; }; }; @@ -44,4 +45,5 @@ ); }; + }