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* \