diff --git a/hosts/neodymium/home/shell/btop.nix b/hosts/neodymium/home/shell/btop.nix new file mode 100644 index 0000000..15bfea1 --- /dev/null +++ b/hosts/neodymium/home/shell/btop.nix @@ -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"; }; + +} diff --git a/hosts/neodymium/home/shell/default.nix b/hosts/neodymium/home/shell/default.nix index 2b4558e..da8f92a 100644 --- a/hosts/neodymium/home/shell/default.nix +++ b/hosts/neodymium/home/shell/default.nix @@ -1,4 +1,11 @@ { ... }: { - imports = - [ ./atuin.nix ./bat.nix ./direnv.nix ./exa.nix ./git.nix ./zsh.nix ]; + imports = [ + ./atuin.nix + ./bat.nix + ./btop.nix + ./direnv.nix + ./exa.nix + ./git.nix + ./zsh.nix + ]; }