{"id":34519313,"url":"https://github.com/jacopone/antigravity-nix","last_synced_at":"2026-03-10T09:03:31.559Z","repository":{"id":324982496,"uuid":"1099361919","full_name":"jacopone/antigravity-nix","owner":"jacopone","description":"Auto-updating Nix package for Google Antigravity agentic IDE. Updates 3x/week. FHS environment with overlay support for NixOS/Home Manager.","archived":false,"fork":false,"pushed_at":"2026-03-06T07:25:02.000Z","size":251,"stargazers_count":106,"open_issues_count":1,"forks_count":12,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-06T12:06:08.265Z","etag":null,"topics":["agentic-ide","ai-coding","ai-ide","ai-tools","antigravity","auto-update","code-editor","declarative","fhs-environment","flakes","github-actions","google","google-antigravity","home-manager","jules","nix","nix-flakes","nix-packages","nixos","overlay"],"latest_commit_sha":null,"homepage":"https://antigravity.google","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacopone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T22:37:08.000Z","updated_at":"2026-03-06T07:24:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jacopone/antigravity-nix","commit_stats":null,"previous_names":["jacopone/antigravity-nix"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/jacopone/antigravity-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacopone%2Fantigravity-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacopone%2Fantigravity-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacopone%2Fantigravity-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacopone%2Fantigravity-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacopone","download_url":"https://codeload.github.com/jacopone/antigravity-nix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacopone%2Fantigravity-nix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30328276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ide","ai-coding","ai-ide","ai-tools","antigravity","auto-update","code-editor","declarative","fhs-environment","flakes","github-actions","google","google-antigravity","home-manager","jules","nix","nix-flakes","nix-packages","nixos","overlay"],"created_at":"2025-12-24T04:28:03.044Z","updated_at":"2026-03-10T09:03:31.533Z","avatar_url":"https://github.com/jacopone.png","language":"Nix","funding_links":[],"categories":["google"],"sub_categories":[],"readme":"# antigravity-nix\n\nAuto-updating Nix Flake for Google Antigravity -- zero configuration, multi-platform, version-pinned.\n\n[![Update Antigravity](https://github.com/jacopone/antigravity-nix/actions/workflows/update.yml/badge.svg)](https://github.com/jacopone/antigravity-nix/actions/workflows/update.yml)\n[![Flake Check](https://img.shields.io/badge/flake-check%20passing-success)](https://github.com/jacopone/antigravity-nix)\n[![NixOS](https://img.shields.io/badge/NixOS-ready-blue?logo=nixos)](https://nixos.org)\n\n## What This Provides\n\n- **FHS environment** wrapping the upstream binary with all required libraries\n- **Automated updates** via GitHub Actions (3x/week), with hash verification and build testing\n- **Multi-platform** support for x86_64-linux, aarch64-linux, x86_64-darwin, and aarch64-darwin\n- **Version pinning** through tagged releases for reproducible builds\n\n## Quick Start\n\n```bash\nnix run github:jacopone/antigravity-nix\n```\n\n## Installation\n\n### NixOS Configuration\n\nAdd to your `flake.nix`:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    antigravity-nix = {\n      url = \"github:jacopone/antigravity-nix\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = { self, nixpkgs, antigravity-nix, ... }: {\n    nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {\n      system = \"x86_64-linux\";\n      modules = [\n        {\n          environment.systemPackages = [\n            antigravity-nix.packages.x86_64-linux.default\n          ];\n        }\n      ];\n    };\n  };\n}\n```\n\n### Home Manager\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    home-manager.url = \"github:nix-community/home-manager\";\n    antigravity-nix = {\n      url = \"github:jacopone/antigravity-nix\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = { self, nixpkgs, home-manager, antigravity-nix, ... }: {\n    homeConfigurations.your-user = home-manager.lib.homeManagerConfiguration {\n      pkgs = nixpkgs.legacyPackages.x86_64-linux;\n      modules = [\n        {\n          home.packages = [\n            antigravity-nix.packages.x86_64-linux.default\n          ];\n        }\n      ];\n    };\n  };\n}\n```\n\n### Overlay\n\n```nix\n{\n  nixpkgs.overlays = [\n    inputs.antigravity-nix.overlays.default\n  ];\n\n  environment.systemPackages = with pkgs; [\n    google-antigravity\n  ];\n}\n```\n\n## Package Variants\n\nTwo packaging strategies are available:\n\n| Variant | Strategy | Trade-off |\n|---|---|---|\n| `default` / `google-antigravity` | `buildFHSEnv` + bubblewrap | Sandboxed, but inherits `no_new_privileges` restrictions |\n| `google-antigravity-no-fhs` | `autoPatchelfHook` | No sandbox, full system integration |\n\nThe **default** uses `buildFHSEnv` to create an isolated FHS environment via bubblewrap. This is the most compatible approach, but the sandbox sets the kernel's `no_new_privileges` flag, which prevents privilege escalation (`sudo`, `pkexec`) and can cause issues with nested namespaces.\n\nThe **no-fhs** variant uses `autoPatchelfHook` to patch ELF binaries directly, the same approach used by VS Code in nixpkgs. It runs natively on NixOS without sandboxing.\n\n```nix\n# Use the no-fhs variant\nhome.packages = [\n  antigravity-nix.packages.${system}.google-antigravity-no-fhs\n];\n```\n\nOr via override:\n\n```nix\ngoogle-antigravity.override { useFHS = false; }\n```\n\n### Chrome Profile Isolation\n\nBy default, Antigravity uses your system Chrome profile (`~/.config/google-chrome`), giving it access to your installed extensions. To run with an isolated Chrome profile instead (e.g., when testing untrusted apps):\n\n```nix\ngoogle-antigravity.override { useSystemChromeProfile = false; }\n```\n\nThis omits the `--user-data-dir` and `--profile-directory` flags, letting Chrome manage its own profile independently. Works with both FHS and non-FHS variants.\n\n## Usage\n\n```bash\nantigravity                  # launch from terminal\nantigravity /path/to/project # open a specific project\n```\n\n## Version Pinning\n\n```nix\n# Follow latest (recommended)\ninputs.antigravity-nix.url = \"github:jacopone/antigravity-nix\";\n\n# Pin to a specific release\ninputs.antigravity-nix.url = \"github:jacopone/antigravity-nix/v1.11.2-6251250307170304\";\n```\n\nUpdate to the latest version:\n\n```bash\nnix flake update antigravity-nix\n```\n\nAll releases: https://github.com/jacopone/antigravity-nix/releases\n\n## Requirements\n\n- Nix with flakes enabled\n- `allowUnfree = true` (Antigravity is proprietary software)\n- On `aarch64-linux`, Chromium is used automatically since Google Chrome is unavailable\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Test with `nix build` and `nix flake check`\n4. Submit a pull request\n\n## License\n\nMIT License -- see [LICENSE](LICENSE) for details.\n\nGoogle Antigravity is proprietary software by Google LLC. This is an unofficial package, not affiliated with or endorsed by Google.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacopone%2Fantigravity-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacopone%2Fantigravity-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacopone%2Fantigravity-nix/lists"}