Files
home-manager/tests/modules/programs/antigravity-cli/gemini-package-paths.nix
Austin Horstman 34dd288e65 antigravity-cli: update skills deployment path
The skills folder deployment path has been updated to
'~/.gemini/antigravity-cli/skills/' to align with the application's
configuration path structure from docs. I think the other path is just a
weird compatibility shim that app supports. strace shows it will search
it, but it also checks the documented path.
2026-06-16 08:06:05 -05:00

40 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
programs.antigravity-cli = {
enable = true;
package = pkgs.writeShellScriptBin "gemini-cli" "";
settings.theme = "Default";
commands.review = {
prompt = "Review current changes.";
description = "Reviews current changes.";
};
skills.audit = ''
---
name: audit
description: Audit code changes.
---
Audit code changes.
'';
policies.commands.rule = [
{
toolName = "run_shell_command";
commandPrefix = "git ";
decision = "ask_user";
priority = 100;
}
];
};
nmt.script = ''
assertFileExists home-files/.gemini/settings.json
assertPathNotExists home-files/.gemini/antigravity-cli/settings.json
assertFileExists home-files/.gemini/commands/review.toml
assertFileExists home-files/.gemini/skills/audit/SKILL.md
assertFileExists home-files/.gemini/policies/commands.toml
assertPathNotExists home-files/.gemini/antigravity-cli/skills/review/SKILL.md
assertPathNotExists home-files/.gemini/config/mcp_config.json
'';
}