Skip to content

Commit 966a81a

Browse files
feat(home-manager): add support for gemini-cli
1 parent e973584 commit 966a81a

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

modules/home-manager/all-modules.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
./freetube.nix
2222
./fuzzel.nix
2323
./fzf.nix
24+
./gemini-cli.nix
2425
./gh-dash.nix
2526
./ghostty.nix
2627
./gitui.nix
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{ catppuccinLib }:
2+
{ config, lib, ... }:
3+
4+
let
5+
inherit (config.catppuccin) sources;
6+
7+
cfg = config.catppuccin.gemini-cli;
8+
theme = lib.importJSON "${sources.gemini-cli}/catppuccin-${cfg.flavor}.json";
9+
in
10+
11+
{
12+
options.catppuccin.gemini-cli = catppuccinLib.mkCatppuccinOption { name = "gemini-cli"; };
13+
14+
config = lib.mkIf cfg.enable {
15+
programs.gemini-cli = {
16+
settings.ui = {
17+
theme = theme.name;
18+
customThemes.${theme.name} = theme;
19+
};
20+
};
21+
};
22+
}

pkgs/sources.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
"lastModified": "2024-10-30",
8585
"rev": "0af0e26901b60ada4b20522df739f032797b07c3"
8686
},
87+
"gemini-cli": {
88+
"hash": "sha256-RKNvZdqFle5yn0NrHQoTsSZ7PU7k2IYiyyVfsEcSgFY=",
89+
"lastModified": "2025-12-29",
90+
"rev": "a96020445a6649db7c8918fe8e92f631b67464cb"
91+
},
8792
"gh-dash": {
8893
"hash": "sha256-fOCZxrEyWLi+VYnx3QYOP1R+VBhllhOlnO5/5Wg5aq4=",
8994
"lastModified": "2024-10-30",

0 commit comments

Comments
 (0)