https://github.com/jacopone/code-cursor-nix
Auto-updating Nix package for Cursor AI editor with browser automation (Playwright/Puppeteer/Selenium). Updates 3x/week. Chrome bundled for NixOS testing.
https://github.com/jacopone/code-cursor-nix
ai-editor ai-tools auto-update browser-automation chromium code-editor cursor cursor-ai fhs-environment flakes github-actions nix nix-flakes nix-packages nixos playwright puppeteer selenium vscode-fork web-testing
Last synced: 5 days ago
JSON representation
Auto-updating Nix package for Cursor AI editor with browser automation (Playwright/Puppeteer/Selenium). Updates 3x/week. Chrome bundled for NixOS testing.
- Host: GitHub
- URL: https://github.com/jacopone/code-cursor-nix
- Owner: jacopone
- License: mit
- Created: 2025-10-01T01:42:15.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-13T09:39:07.000Z (15 days ago)
- Last Synced: 2026-02-13T20:49:54.459Z (15 days ago)
- Topics: ai-editor, ai-tools, auto-update, browser-automation, chromium, code-editor, cursor, cursor-ai, fhs-environment, flakes, github-actions, nix, nix-flakes, nix-packages, nixos, playwright, puppeteer, selenium, vscode-fork, web-testing
- Language: Shell
- Homepage: https://cursor.com
- Size: 91.8 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# code-cursor-nix
Auto-updating Nix Flake for Cursor AI editor -- AppImage extraction, FHS environment, browser automation included.
[](https://github.com/jacopone/code-cursor-nix/actions/workflows/update.yml)
## What This Provides
- **FHS environment** wrapping the upstream AppImage with all required libraries
- **Automated updates** via GitHub Actions (3x/week), with hash verification and build testing
- **Multi-platform** support for x86_64-linux, aarch64-linux, x86_64-darwin, and aarch64-darwin
- **Browser automation** on Linux -- bundles Chrome with `CHROME_BIN`/`CHROME_PATH` set for Playwright, Puppeteer, and Selenium
## Quick Start
```bash
nix run github:jacopone/code-cursor-nix
```
## Installation
### NixOS Configuration
Add to your `flake.nix`:
```nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
code-cursor-nix.url = "github:jacopone/code-cursor-nix";
};
outputs = { self, nixpkgs, code-cursor-nix, ... }: {
nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
environment.systemPackages = [
code-cursor-nix.packages.x86_64-linux.cursor
];
}
];
};
};
}
```
### Home Manager
```nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
code-cursor-nix.url = "github:jacopone/code-cursor-nix";
};
outputs = { self, nixpkgs, home-manager, code-cursor-nix, ... }: {
homeConfigurations.your-user = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [
{
home.packages = [
code-cursor-nix.packages.x86_64-linux.cursor
];
}
];
};
};
}
```
## Version Pinning
```nix
# Follow latest (recommended)
inputs.code-cursor-nix.url = "github:jacopone/code-cursor-nix";
# Pin to a specific release
inputs.code-cursor-nix.url = "github:jacopone/code-cursor-nix/v2.0.34";
```
Update to the latest version:
```bash
nix flake update code-cursor-nix
```
All releases: https://github.com/jacopone/code-cursor-nix/releases
## Requirements
- Nix with flakes enabled
- `allowUnfree = true` (Cursor is proprietary software)
## Contributing
1. Fork the repository
2. Create a feature branch
3. Test with `nix build .#cursor` and `nix flake check`
4. Submit a pull request
## License
MIT License -- see [LICENSE](LICENSE) for details.
Cursor is proprietary software by Anysphere Inc. This is an unofficial package, not affiliated with or endorsed by Anysphere.