Files
nix-config/home/base/core/btop.nix
T
ryan4yin | 二花 42641e2fdf feat!: replace zellij with tuios, default to ghostty + kitty (#349)
* feat!: replace zellij with tuios and switch to ghostty + kitty

Terminal environment overhaul:

- add the tuios flake input (upstream 0.8.5; nixpkgs has 0.8.1) and link
  the checked-in config out-of-store; auto-start tuios in nushell instead
  of zellij
- remove zellij entirely: both modules, config, README and nushell
  completions
- remove foot and alacritty, which lack the Kitty graphics protocol;
2026-10-03 02:34:31 +08:00

20 lines
566 B
Nix

{
pkgs,
...
}:
{
# replacement of htop/nmon
programs.btop = {
enable = true;
# On NixOS `modules.btop` installs the single GPU-aware build (or a
# CAP_PERFMON wrapper), so don't let Home Manager add a second, plain btop.
# macOS has no `modules.btop` and takes btop from Home Manager.
package = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.btop else null;
settings = {
# Use the terminal background so btop is transparent (shows when btop
# runs in a translucent terminal).
theme_background = false;
};
};
}