Skip to content

Conversation

@SymphonySimper
Copy link
Contributor

@SymphonySimper SymphonySimper commented Jan 15, 2026

Blocked by: catppuccin/gemini-cli#2

This requires IFD as gemini-cli does not support loading themes from outside of home directory. (Source)

@SymphonySimper SymphonySimper marked this pull request as ready for review January 15, 2026 15:04
Comment on lines +8 to +21
theme = lib.importJSON "${sources.gemini-cli}/catppuccin-${cfg.flavor}.json";
in

{
options.catppuccin.gemini-cli = catppuccinLib.mkCatppuccinOption { name = "gemini-cli"; };

config = lib.mkIf cfg.enable {
programs.gemini-cli = {
settings.ui = {
theme = theme.name;
customThemes.${theme.name} = theme;
};
};
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs seem to suggest that its possible to put the file anywhere https://github.com/catppuccin/gemini-cli?tab=readme-ov-file#usage

Suggested change
theme = lib.importJSON "${sources.gemini-cli}/catppuccin-${cfg.flavor}.json";
in
{
options.catppuccin.gemini-cli = catppuccinLib.mkCatppuccinOption { name = "gemini-cli"; };
config = lib.mkIf cfg.enable {
programs.gemini-cli = {
settings.ui = {
theme = theme.name;
customThemes.${theme.name} = theme;
};
};
};
in
{
options.catppuccin.gemini-cli = catppuccinLib.mkCatppuccinOption { name = "gemini-cli"; };
config = lib.mkIf cfg.enable {
programs.gemini-cli = {
settings.ui = {
theme = "${sources.gemini-cli}/catppuccin-${cfg.flavor}.json"
};
};
};

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That won't work, the readme in the port is wrong. If you add a theme path which is outside of your home directory. It refuses to load it.

Copy link
Contributor Author

@SymphonySimper SymphonySimper Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what it will happen when you set theme to a nix store path.
image

Even though the file exists.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants