From af842faa8e3fd44fc89dc3e6e7e2319e9ac0f8e1 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Fri, 23 Jan 2026 09:05:24 +0100 Subject: [PATCH] follow up --- modules/gemini-cli.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/gemini-cli.nix b/modules/gemini-cli.nix index ff5da2b..e3a6bc7 100644 --- a/modules/gemini-cli.nix +++ b/modules/gemini-cli.nix @@ -6,6 +6,7 @@ settings = { general.previewFeatures = true; + security.auth.selectedType = "gemini-api-key"; ui = { useFullWidth = true; @@ -60,4 +61,10 @@ context."GEMINI" = ""; }; + + # NOTE: API key must be manually created in ~/.gemini/.env + # The file should contain: + # GEMINI_API_KEY=your-api-key + # Get your API key from https://aistudio.google.com/apikey + # Make sure to set permissions: chmod 600 ~/.gemini/.env }