From c764a377a0f0383e9e6a4addcafdb144823909d6 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Fri, 19 Dec 2025 14:43:08 -0600 Subject: [PATCH] gemini-cli: fix settings example Supposed to represent the settigns to pass in, not the generated json. Signed-off-by: Austin Horstman --- modules/programs/gemini-cli.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/modules/programs/gemini-cli.nix b/modules/programs/gemini-cli.nix index 5e21543d..b9b0ca5e 100644 --- a/modules/programs/gemini-cli.nix +++ b/modules/programs/gemini-cli.nix @@ -21,14 +21,19 @@ in settings = lib.mkOption { inherit (jsonFormat) type; default = { }; - example = lib.literalExpression '' - { - "theme": "Default", - "vimMode": true, - "preferredEditor": "nvim", - "autoAccept": true - } - ''; + example = { + ui.theme = "Default"; + general = { + vimMode = true; + preferredEditor = "nvim"; + previewFeatures = true; + }; + ide.enabled = true; + privacy.usageStatisticsEnabled = false; + tools.autoAccept = false; + context.loadMemoryFromIncludeDirectories = true; + security.auth.selectedType = "oauth-personal"; + }; description = "JSON config for gemini-cli"; };