Add gruvbox theme for yazi

This commit is contained in:
Fern Garden 2025-07-12 15:37:22 +08:00
parent f89b492dc9
commit 8907f2f16a
3 changed files with 32 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{
nixpkgs,
userPackages,
pkgs,
lib,
hostname,
@ -70,7 +71,7 @@ with lib; {
enable = true;
interactiveShellInit = ''
# set gruvbox theme
theme_gruvbox
theme_gruvbox dark hard
# yazi cd on quit.
function y
@ -217,6 +218,14 @@ with lib; {
};
};
programs.yazi = {
enable = true;
flavors."gruvbox-dark.yazi" = userPackages.yazi-flavour-gruvbox-dark;
settings.theme = {
flavor.dark = "gruvbox-dark";
};
};
environment.systemPackages = with pkgs; [
aria2
btop
@ -226,7 +235,6 @@ with lib; {
rsync
tmux
trash-cli
yazi
];
# Enable avahi hostname resolution.