From a181e9fe4e9a4c226b51b178187c032b0c90db98 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 20 Nov 2024 07:59:50 +0000 Subject: [PATCH] Configure htop with Home Manager --- lib/shared/home-manager-packages.nix | 1 - lib/shared/home-manager.nix | 1 + modules/home-manager/htop.nix | 9 +++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 modules/home-manager/htop.nix diff --git a/lib/shared/home-manager-packages.nix b/lib/shared/home-manager-packages.nix index 17e3aa7..32c9f3c 100644 --- a/lib/shared/home-manager-packages.nix +++ b/lib/shared/home-manager-packages.nix @@ -44,7 +44,6 @@ with pkgs; git-crypt gnupg go - htop inotify-tools jq lua diff --git a/lib/shared/home-manager.nix b/lib/shared/home-manager.nix index c977cfe..b94bffa 100644 --- a/lib/shared/home-manager.nix +++ b/lib/shared/home-manager.nix @@ -33,6 +33,7 @@ ../../modules/home-manager/bin.nix ../../modules/home-manager/direnv.nix ../../modules/home-manager/fzf.nix + ../../modules/home-manager/htop.nix ../../modules/home-manager/lsd.nix ../../modules/home-manager/pet.nix ../../modules/home-manager/phpactor.nix diff --git a/modules/home-manager/htop.nix b/modules/home-manager/htop.nix new file mode 100644 index 0000000..929a6ae --- /dev/null +++ b/modules/home-manager/htop.nix @@ -0,0 +1,9 @@ +{ + programs.htop = { + enable = true; + + settings = { + show_cpu_temperature = true; + }; + }; +}