feat(home-manager): add support for zellij (#139)

Signed-off-by: eljamm <fedi.jamoussi@protonmail.ch>
Co-authored-by: seth <getchoo@tuta.io>
This commit is contained in:
Fedi Jamoussi 2024-04-23 00:19:34 +00:00 committed by GitHub
parent d146dd5a9e
commit a5d452a200
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ config
, lib
, ...
}:
let
cfg = config.programs.zellij.catppuccin;
enable = cfg.enable && config.programs.zellij.enable;
themeName = "catppuccin-${cfg.flavour}";
in
{
options.programs.zellij.catppuccin =
lib.ctp.mkCatppuccinOpt "zellij";
config = lib.mkIf enable {
programs.zellij.settings = { theme = themeName; };
};
}

View file

@ -85,6 +85,7 @@ in
tmux = enable;
yazi = enable;
zathura = enable;
zellij = enable;
};
gtk = lib.recursiveUpdate enable { catppuccin.cursor.enable = true; };