-
Notifications
You must be signed in to change notification settings - Fork 91
feat(home-manager): add support for gemini-cli #827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
966a81a to
bf3e6c5
Compare
bf3e6c5 to
75bc2d4
Compare
| 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; | ||
| }; | ||
| }; | ||
| }; |
There was a problem hiding this comment.
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
| 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" | |
| }; | |
| }; | |
| }; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.


Blocked by: catppuccin/gemini-cli#2This requires IFD as
gemini-clidoes not support loading themes from outside of home directory. (Source)