ctucx.git: nixfiles

ctucx' nixfiles

commit fa307d557e3c6fa5212f2b6e5ac12e8788ee95e2
parent 42c38d2d23b97e11f978e3057b60d9e750b25cae
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 12 Oct 2021 11:47:34 +0200

programs/htop: set hide_userland_threads
1 file changed, 11 insertions(+), 13 deletions(-)
M
configurations/programs/cli/htop.nix
|
24
+++++++++++-------------
diff --git a/configurations/programs/cli/htop.nix b/configurations/programs/cli/htop.nix
@@ -1,25 +1,23 @@
 { config, pkgs, lib, ... }:
 
 {
-  nixpkgs.overlays = [
-    (self: super: {
-      htop = super.htop.overrideAttrs(oldAttrs: {
-          postInstall = ''
-            rm $out/share/applications/htop.desktop
-          '';
-        });
-    })
-  ];
+  nixpkgs.overlays = [(self: super: {
+    htop = super.htop.overrideAttrs(oldAttrs: {
+      postInstall = ''
+        rm $out/share/applications/htop.desktop
+      '';
+    });
+  })];
 
   home-manager.users.leah = {
     programs = {
       htop = {
         enable   = true;
         settings = {
-          hide_threads       = 1;
-          tree_view          = 1;
-          show_program_path  = 0;
-          show_cpu_frequency = 1;
+          hide_userland_threads = 1;
+          tree_view             = 1;
+          show_program_path     = 0;
+          show_cpu_frequency    = 1;
         };
       };
     };