feat: Add gemini-cli options

This commit is contained in:
demenik
2025-12-11 14:33:42 +01:00
parent 1e651e3c6f
commit 862f600124
3 changed files with 83 additions and 139 deletions

View File

@@ -2,4 +2,33 @@
home.packages = with pkgs; [
gemini-cli
];
home.file = {
".gemini/settings.json".text = builtins.toJSON {
general = {
vimMode = false;
preferredEditor = "neovim";
disableAutoUpdate = true;
disableUpdateNag = true;
previewFeatures = true;
enablePromptCompletion = true;
};
security.auth.selectedType = "oauth-personal";
ui = {
theme = "Catppuccin Mocha";
customThemes."Catppuccin Mocha" = builtins.fromJSON (builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/gemini-cli/refs/heads/main/themes/catppuccin-mocha.json";
hash = "sha256-BL4tR3cxM5nG3Hws5OaYbYQOvB4XLYN6uNFkXWIp1nU=";
}));
footer.hideSandboxStatus = true;
useAlternateBuffer = true;
};
output = {
format = "text";
};
privacy.usageStatisticsEnabled = false;
telemetry.enabled = false;
tools.shell.showColor = true;
};
};
}