15 lines
359 B
Nix
15 lines
359 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.programs.zellij.catppuccin;
|
|
enable = cfg.enable && config.programs.zellij.enable;
|
|
themeName = "catppuccin-${cfg.flavor}";
|
|
in
|
|
{
|
|
options.programs.zellij.catppuccin = lib.ctp.mkCatppuccinOpt { name = "zellij"; };
|
|
|
|
config = lib.mkIf enable {
|
|
programs.zellij.settings = {
|
|
theme = themeName;
|
|
};
|
|
};
|
|
}
|