From e125296015a7e61eff5c0f77c7d1cad541de47e6 Mon Sep 17 00:00:00 2001 From: Lyra Thorpe Date: Tue, 16 Jun 2026 10:55:57 +0100 Subject: [PATCH] feat(shell.nix): add htop installation --- lyrathorpe/home/shell.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lyrathorpe/home/shell.nix b/lyrathorpe/home/shell.nix index 72a66f5..633e0b6 100644 --- a/lyrathorpe/home/shell.nix +++ b/lyrathorpe/home/shell.nix @@ -26,6 +26,7 @@ in pkgs.tea pkgs.hyperfine # command-line benchmarking pkgs.sd # saner find-and-replace than sed + pkgs.htop # ensure there's a system monitor ]; # Resource monitor, themed Catppuccin Mocha to match the rest of the desktop. @@ -345,13 +346,17 @@ in # enables this in the work module; both being true merges cleanly. services.ssh-agent.enable = lib.mkIf pkgs.stdenv.hostPlatform.isLinux true; + programs.htop = { + enable = true; + }; + # Drop the zsh completion dump on every activation. A stale .zcompdump caches # /nix/store paths to completion functions; once a rebuild or a manual GC # removes them, compinit fails with "_git: function definition file not found" # for every completion. Deleting it forces a fresh rebuild from the current # fpath on the next shell. compinit dumps to $ZDOTDIR (~/.config/zsh now); the # $HOME and cache paths are also swept to clear any legacy leftovers. - home.activation.resetZcompdump = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + home.actiVation.resetZcompdump = lib.hm.dag.entryAfter [ "writeBoundary" ] '' $DRY_RUN_CMD rm -f \ "${config.xdg.configHome}"/zsh/.zcompdump* \ "$HOME"/.zcompdump* \