(neodymium/home/shell) replace htop by btop

This commit is contained in:
Laureηt 2023-10-16 20:17:59 +02:00
parent 79c3c68a94
commit 38d98e3c7e
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 35 additions and 2 deletions

View file

@ -0,0 +1,26 @@
{ pkgs, ... }:
let
catppuccin-btop = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "btop";
rev = "c6469190f2ecf25f017d6120bf4e050e6b1d17af";
sha256 = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
};
in {
xdg.configFile."btop/themes".source = "${catppuccin-btop}/themes";
programs.btop = {
enable = true;
settings = {
theme_background = false;
color_theme = "catppuccin_mocha";
clock_format = "%Y-%m-%d %X";
};
};
programs.zsh.shellAliases = { htop = "btop"; };
}

View file

@ -1,4 +1,11 @@
{ ... }: { { ... }: {
imports = imports = [
[ ./atuin.nix ./bat.nix ./direnv.nix ./exa.nix ./git.nix ./zsh.nix ]; ./atuin.nix
./bat.nix
./btop.nix
./direnv.nix
./exa.nix
./git.nix
./zsh.nix
];
} }